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, UserCredentialsDialogFlags flags);
/// <summary> /// Set all properties to it's default values. /// </summary> public override void Reset() { this.target = Application.ProductName ?? AppDomain.CurrentDomain.FriendlyName; this.user = null; this.password = null; this.passwordIn = null; this.caption = null;// target as caption; this.message = null; this.saveChecked = false; this.flags = UserCredentialsDialogFlags.Default; }
/// <summary> /// Set all properties to it's default values. /// </summary> public override void Reset() { _target = Application.ProductName ?? AppDomain.CurrentDomain.FriendlyName; _user = null; _password = null; _domain = null; _caption = null; // target as caption; _message = null; _banner = null; _saveChecked = false; _flags = UserCredentialsDialogFlags.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, UserCredentialsDialogFlags flags);
/// <summary> /// Set all properties to it's default values. /// </summary> public override void Reset() { this.target = Application.ProductName ?? AppDomain.CurrentDomain.FriendlyName; this.user = null; this.password = null; this.domain = null; this.caption = null;// target as caption; this.message = null; this.banner = null; this.saveChecked = false; this.flags = UserCredentialsDialogFlags.Default; }