Rebornbuddy
|
Static Public Member Functions | |
static NetworkCredential | PromptForCredentials (string target, ref bool save, IntPtr parentWindowHandle=default) |
Opens OS Version specific Window prompting for credentials. | |
static NetworkCredential | PromptForCredentials (string target, ref bool save, string message, string caption, IntPtr parentWindowHandle=default) |
Opens OS Version specific Window prompting for credentials. | |
static NetworkCredential | PromptForCredentials (string target, ref bool save, string message, string caption, string defaultUserName, IntPtr parentWindowHandle=default) |
Opens OS Version specific Window prompting for credentials. | |
static NetworkCredential | PromptForCredentialsConsole (string target) |
Accepts credentials in a console window. | |
static ICredential | SaveCredentials (string target, NetworkCredential credential, CredentialType type=CredentialType.Generic, bool AllowNullPassword=false) |
Saves the given Network Credential into Windows Credential store. | |
static ? NetworkCredential | GetCredentials (string target, CredentialType type=CredentialType.Generic) |
Extract the stored credential from Windows Credential store. | |
static ? Dictionary< string, NetworkCredential > | EnumerateCredentials (string? target=null) |
Enumerate the specified stored credentials in the Windows Credential store. | |
static List< ICredential > | EnumerateICredentials (string target=null) |
Enumerate the specified stored credentials in the Windows Credential store. | |
static bool | RemoveCredentials (string target, CredentialType type=CredentialType.Generic) |
Remove stored credentials from windows credential store. | |
static string | GetBasicAuthString (this NetworkCredential cred) |
Generates a string that can be used for "Auth" headers in web requests, "username:password" encoded in Base64. | |
static ICredential | GetICredential (string target, CredentialType type=CredentialType.Generic) |
Extract the stored credential from Windows Credential store. |
|
static |
Enumerate the specified stored credentials in the Windows Credential store.
target | Name of the application or URL for which the credential is used |
|
static |
Enumerate the specified stored credentials in the Windows Credential store.
target | Name of the application or URL for which the credential is used |
|
static |
Generates a string that can be used for "Auth" headers in web requests, "username:password" encoded in Base64.
cred |
|
static |
Extract the stored credential from Windows Credential store.
target | Name of the application/Url where the credential is used for |
type | Credential type |
|
static |
Extract the stored credential from Windows Credential store.
target | Name of the application/Url where the credential is used for |
type | Credential type |
|
static |
Opens OS Version specific Window prompting for credentials.
target | A descriptive text for where teh credentials being asked are used for |
save | Whether or not to offer the checkbox to save the credentials |
|
static |
Opens OS Version specific Window prompting for credentials.
target | A descriptive text for where teh credentials being asked are used for |
save | Whether or not to offer the checkbox to save the credentials |
message | A brief message to display in the dialog box |
caption | Title for the dialog box |
|
static |
Opens OS Version specific Window prompting for credentials.
target | A descriptive text for where teh credentials being asked are used for |
save | Whether or not to offer the checkbox to save the credentials |
message | A brief message to display in the dialog box |
caption | Title for the dialog box |
defaultUserName | Default value for username |
|
static |
Accepts credentials in a console window.
target | A descriptive text for where teh credentials being asked are used for |
|
static |
Remove stored credentials from windows credential store.
target | Name of the application/Url where the credential is used for |
|
static |
Saves the given Network Credential into Windows Credential store.
target | Name of the application/Url where the credential is used for |
credential | Credential to store |
type | Credential type |