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

In This Topic
    GetServerCredentials Method
    In This Topic
    Retrieve a password from the server
    Syntax
    'Declaration
     
    
    Function GetServerCredentials( _
       ByVal key As String, _
       ByRef account As String, _
       ByRef password As String _
    ) As Boolean
    bool GetServerCredentials( 
       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 on the server using the ProtectedData class to encrypt them such that they can only be decrypted on the same computer. Therefore they are transported unencrypted from the client to the server. If the server connection uses SSL then it is encrypted during transport.
    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