Class User
A user to use when sending and receiving messages.
Inherited Members
Namespace: ntfy
Assembly: ntfy.dll
Syntax
public class User
Constructors
| Improve this Doc View SourceUser(string)
Creates a new user.
Declaration
public User(string accessToken)
Parameters
| Type | Name | Description |
|---|---|---|
| string | accessToken | The user's access token. |
User(string, string)
Creates a new user.
Declaration
public User(string username, string password)
Parameters
| Type | Name | Description |
|---|---|---|
| string | username | The user's username. |
| string | password | The user's password. |
Methods
| Improve this Doc View SourceToString()
Get the user as a string (the username).
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | The user as a string (the username). |