Inheritance: Bonjour.Service
Esempio n. 1
0
 public static void Main()
 {
     IService s = new AirDiskService("toto", string.Format("waMA={0}", ResolverHelper.GetMacAddresses().First().ToString()), string.Format("adVF=0xa1,adVN=toto,adVU={0}", Guid.NewGuid()));
     s.Publish();
     Thread.Sleep(10000);
     s.Stop();
 }
Esempio n. 2
0
        public static void Main()
        {
            IService s = new AirDiskService(81, "toto", string.Format("waMA={0}", ResolverHelper.GetMacAddresses().First().ToString()), string.Format("adVF=0x81,adVN=toto,adVU={0}", Guid.NewGuid()));

            s.Publish();
            Console.ReadLine();
            s.Stop();
        }