SecureStringMarshal.SecureStringToGlobalAllocUnicode(SecureString) Yöntem

Tanım

Yönetilen SecureString nesnesinin içeriğini yönetilmeyen belleğe kopyalar.

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

Parametreler

s
SecureString

Kopyalanacak yönetilen nesne.

Döndürülenler

IntPtr

nativeint

Yönetilmeyen bellekte, kopyalandığı adres s veya uzunluğu 0 olan bir s nesneyse SecureString 0.

Özel durumlar

s parametresi null'dir.

Kullanılabilir bellek yetersiz.

Şunlara uygulanır