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

In This Topic
    SetServerCredentials Method
    In This Topic
    Store a password encrypted on the server
    Syntax
    'Declaration
     
    
    Function SetServerCredentials( _
       ByVal key As String, _
       ByVal account As String, _
       ByVal password As String _
    ) As Boolean
    bool SetServerCredentials( 
       string key,
       string account,
       string password
    )

    Parameters

    key
    The unique name of the credentials stored
    account
    The account name to be stored encrypted
    password
    The password to be stored encrypted.

    Return Value

    True if the credentials existed and were updated, false if they did not previously exist.
    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