Class LocalApiToken
Provides the local web host's token as its address carries it: after #, which a browser never sends, so
whatever loads the page hands it the token.
public static class LocalApiToken
- Inheritance
-
LocalApiToken
- Inherited Members
Methods
Fragment(string)
Makes the address's fragment that carries a token.
public static string Fragment(string token)
Parameters
tokenstringThe token.
Returns
- string
The fragment, as
#token=….
Read(Uri)
Reads the token an address carries.
public static string? Read(Uri url)
Parameters
urlUriThe address.
Returns
Exceptions
- InvalidOperationException
urlis a relative address.