  | WikiSiteGetTokenAsync(String) Method | 
This is preliminary documentation and is subject to change.
            Request a token for operation.
            
Namespace: WikiClientLibrary.SitesAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.4+fbadc980737ddc9bb67116900ecad57f84a0b241
Syntaxpublic Task<string> GetTokenAsync(
	string tokenType
)
Public Function GetTokenAsync ( 
	tokenType As String
) As Task(Of String)
Dim instance As WikiSite
Dim tokenType As String
Dim returnValue As Task(Of String)
returnValue = instance.GetTokenAsync(tokenType)
public:
Task<String^>^ GetTokenAsync(
	String^ tokenType
)
member GetTokenAsync : 
        tokenType : string -> Task<string> Parameters
- tokenType  String
 - The name of token.
 
Return Value
TaskString
Exceptions
RemarksSee https://www.mediawiki.org/wiki/API:Tokens .
See Also