Beispiel #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>();
        }
Beispiel #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>();
        }