CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
secure_string_marshal.h
1
2#pragma once
3
4#include <system/security/secure_string.h>
5#include <system/runtime/interop_services/marshal.h>
6
7namespace System { namespace Security {
8
10class ASPOSECPP_SHARED_CLASS SecureStringMarshal
11{
12public:
17 {
19 }
20
25 {
27 }
28};
29
30}} // namespace System::Security
static IntPtr SecureStringToGlobalAllocUnicode(const SharedPtr< Security::SecureString > &s)
Copies contents of specified secure string into unmanaged memory.
static IntPtr SecureStringToGlobalAllocAnsi(const SharedPtr< Security::SecureString > &s)
Copies contents of specified secure string into unmanaged memory, converting into ANSI format.
Collection of methods for allocating and copying unmanaged memory blocks.
Definition: secure_string_marshal.h:11
static IntPtr SecureStringToGlobalAllocUnicode(const SharedPtr< Security::SecureString > &s)
Copies contents of specified secure string into unmanaged memory.
Definition: secure_string_marshal.h:24
static IntPtr SecureStringToGlobalAllocAnsi(const SharedPtr< Security::SecureString > &s)
Copies contents of specified secure string into unmanaged memory, converting into ANSI format.
Definition: secure_string_marshal.h:16
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
Definition: db_command.h:9