internal static void CheckHandle(this AMSIHandleSession handleSession) { if (handleSession.IsInvalid) { throw AMSIException.FailedToInitializeSession(); } }
internal ScanContext( AMSIClient client , AMSIHandleSession sessionHandle , string contentName , ContentType contentType , FileType contentFileType , long size , string hash) { Client = client; SessionHandle = sessionHandle; ContentName = contentName; ContentType = contentType; ContentFileType = contentFileType; Size = size; Hash = hash; }