Exemplo n.º 1
0
 internal static extern int IpcGetSerializedLicenseProperty(
     [In, MarshalAs(UnmanagedType.LPStruct)] IpcBuffer pvLicense,
     [In, MarshalAs(UnmanagedType.U4)] uint dwPropID,
     [In] SafeInformationProtectionKeyHandle hKey,
     [In, MarshalAs(UnmanagedType.U4)] uint lcid,
     [Out] out IntPtr ppvProperty);
Exemplo n.º 2
0
 internal static extern int IpcGetSerializedLicensePropertyWithoutKey(
     [In, MarshalAs(UnmanagedType.LPStruct)] IpcBuffer pvLicense,
     [In, MarshalAs(UnmanagedType.U4)] uint dwPropID,
     [In] IntPtr pKey,
     [In, MarshalAs(UnmanagedType.U4)] uint lcid,
     [Out] out IntPtr ppvProperty);
Exemplo n.º 3
0
 internal static extern int IpcGetKey(
     [In, MarshalAs(UnmanagedType.LPStruct)] IpcBuffer pvLicense,
     [In, MarshalAs(UnmanagedType.U4)] uint dwFlags,
     [In, MarshalAs(UnmanagedType.LPStruct)] IpcPromptContext pContext,
     [In] IntPtr pvReserved,
     [Out] out SafeInformationProtectionKeyHandle phKey);
Exemplo n.º 4
0
 public SafeIpcBuffer(byte[] buffer)
 {
     ipcBuffer = new IpcBuffer(buffer);
 }
Exemplo n.º 5
0
 public SafeIpcBuffer(byte[] buffer)
 {
     internalClass = new IpcBuffer(buffer);
 }
 public SafeIpcBuffer(byte[] buffer)
 {
     internalClass = new IpcBuffer(buffer);
 }
Exemplo n.º 7
0
 internal static extern int IpcRegisterLicense(
     [In, MarshalAs(UnmanagedType.LPStruct)] IpcBuffer pvLicense,
     [In] IntPtr pvReserved,
     [In, MarshalAs(UnmanagedType.LPStruct)] IpcPromptContext pContext,
     string wszContentName,
     [In, MarshalAs(UnmanagedType.Bool)] bool fSendRegistrationMail);