/// <summary> /// Set all properties to it's default values. /// </summary> public override void Reset() { this.target = Application.ProductName ?? AppDomain.CurrentDomain.FriendlyName; this.credentials = null; this.caption = null; // target as caption; this.message = null; this.banner = null; this.saveChecked = false; this.flags = CredentialsDialogFlags.Default; }
internal extern static CredUIReturnCodes CredUIPromptForCredentials( ref CredUIInfo creditUR, string targetName, IntPtr reserved1, int iError, StringBuilder userName, int maxUserName, StringBuilder password, int maxPassword, ref bool iSave, CredentialsDialogFlags flags);
/// <summary> /// Set all properties to it's default values. /// </summary> public override void Reset() { this.target = Application.ProductName ?? AppDomain.CurrentDomain.FriendlyName; this.credentials = null; this.caption = null;// target as caption; this.message = null; this.banner = null; this.saveChecked = false; this.flags = CredentialsDialogFlags.Default; }
internal static extern CredUIReturnCodes CredUIPromptForCredentials( ref CredUIInfo creditUR, string targetName, IntPtr reserved1, int iError, StringBuilder userName, int maxUserName, StringBuilder password, int maxPassword, ref bool iSave, CredentialsDialogFlags flags);