コード例 #1
0
 private AmsiContext(AmsiContextSafeHandle context)
 {
     _handle = context;
 }
コード例 #2
0
 internal static extern int AmsiScanBuffer(AmsiContextSafeHandle amsiContext, byte[] buffer, uint length, string contentName, AmsiSessionSafeHandle session, out AmsiResult result);
コード例 #3
0
 internal AmsiSession(AmsiContextSafeHandle context, AmsiSessionSafeHandle session)
 {
     _context = context;
     _session = session;
 }
コード例 #4
0
 internal static extern int AmsiScanString(AmsiContextSafeHandle amsiContext, [In, MarshalAs(UnmanagedType.LPWStr)] string payload, [In, MarshalAs(UnmanagedType.LPWStr)] string contentName, AmsiSessionSafeHandle session, out AmsiResult result);
コード例 #5
0
 internal static extern void AmsiCloseSession(AmsiContextSafeHandle amsiContext, IntPtr session);
コード例 #6
0
 internal static extern int AmsiOpenSession(AmsiContextSafeHandle amsiContext, out AmsiSessionSafeHandle session);
コード例 #7
0
 internal static extern int AmsiInitialize([MarshalAs(UnmanagedType.LPWStr)] string appName, out AmsiContextSafeHandle amsiContext);
コード例 #8
0
ファイル: Amsi.cs プロジェクト: zqcarlos/Meziantou.Framework
 internal static extern int AmsiScanBuffer(AmsiContextSafeHandle amsiContext, byte[] buffer, uint length, [In, MarshalAs(UnmanagedType.LPWStr)] string contentName, AmsiSessionSafeHandle session, out AmsiResult result);