Click or drag to resize
GenericCredentials Class
A generic class for building and parsing a credentials string. This will usually contain a UserName and Password but may also contain other parameters using an indexer on this class.
Inheritance Hierarchy
SystemObject
  Sdl.LanguagePlatform.TranslationMemoryApiGenericCredentials

Namespace: Sdl.LanguagePlatform.TranslationMemoryApi
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi (in Sdl.LanguagePlatform.TranslationMemoryApi.dll) Version: 1.6.0.0 (1.14.4157.0)
Syntax
public class GenericCredentials

The GenericCredentials type exposes the following members.

Constructors
  NameDescription
Public methodGenericCredentials(String)
Constructs a GenericCredentials class from a credentials string previously created by another instance of this class.
Public methodGenericCredentials(String, String)
Constructs a GenericCredentials class from a UserName and Password string.
Top
Properties
  NameDescription
Public propertyItem
A string indexer that allows any number of key/value pairs to used in a credentials store.
Public propertyPassword
The Password to be used in a credentials store - if null, then no password is specified.
Public propertyPropertyKeys
Returns an array of property key names that have values defined for them.
Public propertyUserName
The UserName to be used in a credentials store - if null, then no username is specified.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to this instance.
(Overrides ObjectEquals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToCredentialString
Returns a string containing a UserName and Password and any other defined parameters that can be used in a credentials store.
Public methodToString
Returns the string representation of the credentials. See ToCredentialString.
(Overrides ObjectToString.)
Top
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments