Ejemplo n.º 1
0
        public Device(string friendlyName, string uniqueName, NetworkInterface localInterface, string deviceIpAddress, DateTime dateTime, string driverBinaryName, bool needCredentials=true)
        {
            this.friendlyName = friendlyName;
            this.uniqueName = uniqueName;
            this.localInterface = localInterface;
            this.deviceIpAddress = deviceIpAddress;
            this.lastSeen = dateTime;

            this.driverBinaryName = driverBinaryName;

            this.needsCredentials = needCredentials;

            Details = new DeviceDetails();
            Details.Configured = false;
            Details.DriverFriendlyName = "";
            Details.DriverParams = new List<string>();
        }
Ejemplo n.º 2
0
        public Device(string friendlyName, string uniqueName, NetworkInterface localInterface, string deviceIpAddress, DateTime dateTime, string driverBinaryName, bool needCredentials = true)
        {
            this.friendlyName    = friendlyName;
            this.uniqueName      = uniqueName;
            this.localInterface  = localInterface;
            this.deviceIpAddress = deviceIpAddress;
            this.lastSeen        = dateTime;

            this.driverBinaryName = driverBinaryName;

            this.needsCredentials = needCredentials;

            Details                    = new DeviceDetails();
            Details.Configured         = false;
            Details.DriverFriendlyName = "";
            Details.DriverParams       = new List <string>();
        }