Loupe - Log - Monitor - Resolve
Loupe.Extensibility.Client Namespace / IRepositoryConfiguration Interface / GetMachineCredentials Method
The unique name of the credentials stored
The account name that was stored encrypted
The password that was stored encrypted

In This Topic
    GetMachineCredentials Method
    In This Topic
    Retrieve a password from local machine-wide storage.
    Syntax
    'Declaration
     
    
    Function GetMachineCredentials( _
       ByVal key As String, _
       ByRef account As String, _
       ByRef password As String _
    ) As Boolean
    bool GetMachineCredentials( 
       string key,
       out string account,
       out string password
    )

    Parameters

    key
    The unique name of the credentials stored
    account
    The account name that was stored encrypted
    password
    The password that was stored encrypted

    Return Value

    True if the credentials were found with the specified name, false otherwise
    Remarks
    Passwords are stored using the ProtectedData class to encrypt them such that they can only be decrypted on the same computer.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also