Class ConstantWolfTokenProvider
Provides a pre-defined not-changing token used by Wolf client when connecting.
Implements
Namespace: TehGM.Wolfringo.Utilities
Assembly: Wolfringo.Core.dll
Syntax
public class ConstantWolfTokenProvider : IWolfTokenProvider
Constructors
| Improve this Doc View SourceConstantWolfTokenProvider(String)
Creates a token provider from a pre-defined token.
Declaration
public ConstantWolfTokenProvider(string token)
Parameters
Type | Name | Description |
---|---|---|
String | token | Pre-defined token value. |
Fields
| Improve this Doc View SourceTokenLength
The expected length of a token.
Declaration
public const int TokenLength = 18
Field Value
Type | Description |
---|---|
Int32 |
Properties
| Improve this Doc View SourceValue
The value of the token.
Declaration
public string Value { get; }
Property Value
Type | Description |
---|---|
String |
Methods
| Improve this Doc View SourceGetToken()
Returns the token specified when creating the provider.
Declaration
public string GetToken()
Returns
Type | Description |
---|---|
String | WOLF token. |