Skip to content

NativeMethods.UNICODE_STRING ​

Represents a Unicode string structure used by the Windows NT API.

Kind: Struct

Namespace: ConnectorLib

Inheritance: IDisposable

Public Constructors

NativeMethods.UNICODE_STRING(string s)

Initializes a new instance of the UNICODE_STRING structure with the specified string.

Public Member Functions

void

Dispose()

Releases the memory allocated for the string buffer.

virtual override

string

ToString()

Returns the string representation of this UNICODE_STRING.

Public Attributes

ushort

Length

Length of the string in bytes.

ushort

MaximumLength

Maximum length of the buffer in bytes.

IntPtr

Buffer

Pointer to the string buffer.