See Also

Connection Class  | Connection Members  | GetRemainingAuthMethods Method

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

Language

Visual Basic

C#

C++

C++/CLI

Show All

username
The username used for authentication.
method
An authentication method name (e.g., "publickey", "password", "keyboard-interactive") as specified by the SSH-2 standard.
See Also Languages PowerTCP SSH and SFTP for .NET

IsAuthMethodAvailable Method

Dart.PowerTCP.Ssh Namespace > Connection Class : IsAuthMethodAvailable Method

Checks if a specified authentication method is available.

This method is actually just a wrapper for GetRemainingAuthMethods.

[Visual Basic]
Public Function IsAuthMethodAvailable( _    ByVal username As String, _    ByVal method As String _ ) As Boolean
[C#]
public bool IsAuthMethodAvailable(    string username,    string method );
[C++]
public: bool IsAuthMethodAvailable(    string* username,    string* method )
[C++/CLI]
public: bool IsAuthMethodAvailable(    String^ username,    String^ method )

Parameters

username
The username used for authentication.
method
An authentication method name (e.g., "publickey", "password", "keyboard-interactive") as specified by the SSH-2 standard.

Return Type

Whether the specified authentication method is currently available.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

See Also

Connection Class  | Connection Members  | GetRemainingAuthMethods Method


Send comments on this topic.

Documentation version 1.0.0.0.

© 2008 Dart Communications.  All rights reserved.