Table of Contents

Method IssueToken

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

IssueToken()

Gives a tool the token it connects with: 32 random bytes as 64 hexadecimal letters. A token is good until RevokeToken(string); the app gives each tool process its own and takes it back when the process ends.

public string IssueToken()

Returns

string

The token.

Exceptions

InvalidOperationException

Thrown on the app's own server, which takes clients with no token.