Επεξεργασία

Κοινή χρήση μέσω


SecureStringMarshal.SecureStringToGlobalAllocUnicode(SecureString) Method

Definition

Copies the contents of a managed SecureString object into unmanaged memory.

public:
 static IntPtr SecureStringToGlobalAllocUnicode(System::Security::SecureString ^ s);
public static IntPtr SecureStringToGlobalAllocUnicode (System.Security.SecureString s);
static member SecureStringToGlobalAllocUnicode : System.Security.SecureString -> nativeint
Public Shared Function SecureStringToGlobalAllocUnicode (s As SecureString) As IntPtr

Parameters

s
SecureString

The managed object to copy.

Returns

IntPtr

nativeint

The address, in unmanaged memory, where s was copied, or 0 if s is a SecureString object whose length is 0.

Exceptions

The s parameter is null.

There is insufficient memory available.

Applies to