set_credential


Description:

public bool set_credential (int type, string data)

Sets the value of the authentication credential type to the string data.

type is one of the VncConnectionCredential enum values

Parameters:

this

the connection object

type

the authentication credential type

data

the value associated with the credential

Returns:

TRUE if the connection is ok, FALSE if it has an error