FlowWright.cDevDeAPI Namespace
FlowWright.cDevDecisionEngine Namespace

clsMalware..::..AmsiScanBuffer Method

Amsis the scan buffer.

Namespace:  FlowWright.cDevDeAPI
Assembly:  cDevDeAPI (in cDevDeAPI.dll)

Syntax


public static int AmsiScanBuffer(
	IntPtr amsiContext,
	byte[] buffer,
	ulong length,
	string contentName,
	IntPtr session,
	out clsMalware..::..AMSI_RESULT result
)
Public Shared Function AmsiScanBuffer ( _
	amsiContext As IntPtr, _
	buffer As Byte(), _
	length As ULong, _
	contentName As String, _
	session As IntPtr, _
	<OutAttribute> ByRef result As clsMalware..::..AMSI_RESULT _
) As Integer
public:
static int^ AmsiScanBuffer(
	IntPtr^ amsiContext, 
	array<unsigned char^>^ buffer, 
	unsigned long long^ length, 
	String^ contentName, 
	IntPtr^ session, 
	[OutAttribute] clsMalware..::..AMSI_RESULT^% result
)

Parameters

amsiContext
Type: IntPtr
The amsi context.
buffer
Type: array<Byte>[]()[][]
The buffer.
length
Type: UInt64
The length.
contentName
Type: String
Name of the content.
session
Type: IntPtr
The session.
result
Type: FlowWright.cDevDeAPI..::..clsMalware..::..AMSI_RESULT%
The result.

Return Value

System.Int32.