Diffusion .NET Classic API - Core and Common  5.9.4
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
PushTechnology.DiffusionCore.V4Credentials Class Reference

Authorisation credentials. More...

Public Member Functions

 V4Credentials ()
 Constructor. More...
 
 V4Credentials (string userName, string password)
 Constructor. More...
 
object Attach (object tag)
 Attaches the given object to the Credentials. More...
 
override string ToString ()
 Returns a string representing this object. More...
 

Properties

string UserName [get, set]
 The user name. More...
 
string Password [get, set]
 The password. More...
 
object Tag [get, set]
 A user-defined tag. More...
 

Detailed Description

Authorisation credentials.

Constructor & Destructor Documentation

PushTechnology.DiffusionCore.V4Credentials.V4Credentials ( )

Constructor.

PushTechnology.DiffusionCore.V4Credentials.V4Credentials ( string  userName,
string  password 
)

Constructor.

Parameters
userName
password

Member Function Documentation

object PushTechnology.DiffusionCore.V4Credentials.Attach ( object  tag)

Attaches the given object to the Credentials.

An attached object may later be retrieve via the 'Tag' method. Only one object may be attached at a time; invoking this method causes any previous attachment to be discarded. The current atachment may be discarded by attaching 'null'.

Parameters
tagThe object to be attached.
Returns
The previously attached object, if any, otherwise null.
override string PushTechnology.DiffusionCore.V4Credentials.ToString ( )

Returns a string representing this object.

Returns

Property Documentation

string PushTechnology.DiffusionCore.V4Credentials.Password
getset

The password.

object PushTechnology.DiffusionCore.V4Credentials.Tag
getset

A user-defined tag.

string PushTechnology.DiffusionCore.V4Credentials.UserName
getset

The user name.