public SampleDevice() { device = UPnPDevice.CreateRootDevice(1800,1.0,"\\"); device.FriendlyName = "ProjectorDevice"; device.Manufacturer = "WNMS Group 4"; device.ManufacturerURL = "http://www.vt.edu"; device.ModelName = "Projector Controller"; device.ModelDescription = "Powerpoint Projector Controller"; device.ModelNumber = "G4"; device.HasPresentation = false; device.DeviceURN = "urn:schemas-upnp-org:device:projector:1"; Wnms04.UpnpStack.P5_04 P5_04 = new Wnms04.UpnpStack.P5_04(); P5_04.OnLogEvent += new P5_04.OnLog(this.BubbleLog); device.AddService(P5_04); // Setting the initial value of evented variables P5_04.Evented_PageMax = 0; P5_04.Evented_Power = false; P5_04.Evented_File = "Sample String"; P5_04.Evented_PageNumber = 0; P5_04.Evented_Files = "Sample String"; }
internal _P5_04(P5_04 n) { Outer = n; S = BuildUPnPService(); }