-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Dt.Xls\Biff\CompoundFile.cs
public static bool IsLegal(Stream stream)
{
bool flag = false;
BinaryReader reader = new BinaryReader(stream);
try
{
ulong num = reader.ReadUInt64();
if (num == 16220472316735377360L)
flag = true;
}
catch(Exception ex)
{
This stream is asynchronous-only'
}
reader.BaseStream.Seek(0L, (SeekOrigin) SeekOrigin.Begin);
return flag;
}
Metadata
Metadata
Assignees
Labels
No labels