Bloomberg API for .NET
GenerateToken Method
NamespacesBloomberglp.BlpapiAbstractSessionGenerateToken()()()()
Return a generated token to be used for authorization.
Declaration Syntax
C#Visual BasicVisual C++
public CorrelationID GenerateToken()
Public Function GenerateToken As CorrelationID
public:
CorrelationID^ GenerateToken()
Return Value
CorrelationID
a CorrelationID for this asynchronous openService request.
Remarks
Generate a token to be used for authorization
Exceptions
ExceptionCondition
InvalidOperationException Session is not started.
ArgumentException Invalid authentication option is specified in session option or there is failure to get authentication information based on authentication option.

Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.7.4.1