Exemplo n.º 1
0
 /// <summary>
 /// Rename Client
 /// </summary>
 /// <param name="client">Client to rename</param>
 /// <param name="name">New name</param>
 public async Task <Responses.ResponseEnvelope <Responses.Clients> > RenameClient(Responses.Clients client, string name)
 {
     return(await RenameClient(client.Id, name));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Reconnects the provided client
 /// </summary>
 /// <param name="client">The client to force to reconnect</param>
 /// <returns>True if the reconnect was successful or False if it failed</returns>
 public async Task <bool> ReconnectClient(Responses.Clients client)
 {
     return(await ReconnectClient(client.MacAddress));
 }
Exemplo n.º 3
0
 /// <summary>
 /// Unblocks a client from accessing the network
 /// </summary>
 /// <param name="client">Client to unblock from getting access to the network</param>
 public async Task <Responses.ResponseEnvelope <Responses.Clients> > UnblockClient(Responses.Clients client)
 {
     return(await UnblockClient(client.MacAddress));
 }