diff --git a/Assets/Scripts/MdnsService.cs b/Assets/Scripts/MdnsService.cs new file mode 100644 index 0000000..e47be4e --- /dev/null +++ b/Assets/Scripts/MdnsService.cs @@ -0,0 +1,23 @@ +using System.Collections; +using System.Collections.Generic; + +public class MdnsService +{ + public string IpAddress { get; set; } + public int Port { get; set; } + public string Path { get; set; } + public string Host { get; set; } + + public MdnsService(string ipAddress, int port, string path, string host) + { + IpAddress = ipAddress; + Port = port; + Path = path; + Host = host; + } + + public override string ToString() + { + return $"IpAddress: {IpAddress}, Port: {Port}, Path: {Path}, Host: {Host}"; + } +} diff --git a/Assets/Scripts/MdnsService.cs.meta b/Assets/Scripts/MdnsService.cs.meta new file mode 100644 index 0000000..a239006 --- /dev/null +++ b/Assets/Scripts/MdnsService.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 4212f348ab4781a49989213c94144fc5 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: