Service.Manager.Service.GetServiceName C# (CSharp) Method

GetServiceName() public method

public GetServiceName ( ) : string
return string
        public string GetServiceName()
        {
            return _services.GetServicesName();
        }

Usage Example

Example #1
0
 public void NotifyJoinService(Service service, Network network)
 {
     dynamic packet = new JObject();
     packet.type = "notify_join_service";
     packet.service = service.GetServiceName();
     packet.id = service._id;
     packet.address = network.GetAddress(service);
     packet.port = service._port;
     this.SendPacket(packet);
 }