dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleCredential Class / OracleCredential Constructor
Your Oracle user id.
Your Oracle password.

In This Topic
    OracleCredential Constructor
    In This Topic
    Initializes a new instance of the OracleCredential class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal userId As String, _
       ByVal password As SecureString _
    )
    public OracleCredential( 
       string userId,
       SecureString password
    )

    Parameters

    userId
    Your Oracle user id.
    password
    Your Oracle password.
    Remarks
    Please note that additional security of the SecureString class is only available on Windows platform. Besides, there is no point in using the SecureString class if you use a usual System.String class to store the password anywhere in between. For best security, you need either use a special control to obtain the passsword as a SecureString from the start, like System.Windows.Controls.PasswordBox, or construct a SecureString object from a character-at-a-time unmanaged source.
    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