Exemplo n.º 1
0
 public static void instproxy_command_get_name(PlistHandle command, out string name)
 {
     System.Runtime.InteropServices.ICustomMarshaler nameMarshaler = NativeStringMarshaler.GetInstance(null);
     System.IntPtr nameNative = System.IntPtr.Zero;
     InstallationProxyNativeMethods.instproxy_command_get_name(command, out nameNative);
     name = ((string)nameMarshaler.MarshalNativeToManaged(nameNative));
     nameMarshaler.CleanUpNativeData(nameNative);
 }
 /// <summary>
 /// Gets the name from a command dictionary.
 /// </summary>
 /// <param name="command">
 /// The dictionary describing the command.
 /// </param>
 /// <param name="name">
 /// Pointer to store the name of the command.
 /// </param>
 public virtual void instproxy_command_get_name(PlistHandle command, out string name)
 {
     InstallationProxyNativeMethods.instproxy_command_get_name(command, out name);
 }