First commit to SVN

git-svn-id: svn://claunia.com/FileSystemIDandChk@1 17725271-3d32-4980-a8cb-9ff532f270ba
This commit is contained in:
2011-03-03 18:34:33 +00:00
commit beec65407a
17 changed files with 2762 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
using System;
using System.Text;
namespace FileSystemIDandChk
{
public static class StringHandlers
{
public static string CToString (byte[] CString)
{
StringBuilder sb = new StringBuilder();
for(int i = 0; i<CString.Length; i++)
{
if(CString[i]==0)
break;
sb.Append(Encoding.ASCII.GetString(CString, i, 1));
}
return sb.ToString();
}
}
}