SecureStringMarshal.SecureStringToGlobalAllocUnicode(SecureString) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.