I have a compilation error with C #
using System; using System.Collections.Generic; using System.ComponentModel; using System.Windows.Forms; using System.Security.Principal; using System.Security.Permissions; using System.Runtime.ConstrainedExecution; using System.Runtime.InteropServices; using Microsoft.Win32.SafeHandles; [DllImport("advapi32.dll", SetLastError = true,CharSet = CharSet.Unicode)] public static extern bool ***LogonUser***(string lpszUsername, string lpszDomain, string lpszPassword, int dwLogonType, int dwLogonProvider, out ***SafeTokenHandle*** phToken);
The word in the sign * (LogonUser and SafeTokenHandle). My C # compiler cannot compile due to an unknown type. I am developing Visual Studio 2012, Windows 64, Framework 4.0.
Please, help.
source share