public static string ReadNullTerminatedString(this BinaryReader Reader)
{
string str = ""; int num = 0;
while (true)
{
char ch = (char) Reader.ReadByte(); num++;
if (ch == '\0')
break;
str = str + ch;
}
int num2 = str.Length - num;
Reader.BaseStream.Seek((long) (num2 + 1), SeekOrigin.Current);
return str;
}