Ejemplo n.º 1
0
 /// <summary>
 /// Constructor
 /// </summary>
 public AvailableNetworkPack(
     InterfaceInfo interfaceInfo,
     NetworkIdentifier ssid,
     BssType bssType,
     int signalQuality,
     bool isSecurityEnabled,
     string profileName)
 {
     this.Interface         = interfaceInfo;
     this.Ssid              = ssid;
     this.BssType           = bssType;
     this.SignalQuality     = signalQuality;
     this.IsSecurityEnabled = isSecurityEnabled;
     this.ProfileName       = profileName;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructor
 /// </summary>
 public ProfilePack(
     string name,
     InterfaceInfo interfaceInfo,
     ProfileType profileType,
     string profileXml,
     int position,
     int signalQuality,
     bool isConnected)
 {
     this.Name          = name;
     this.Interface     = interfaceInfo;
     this.ProfileType   = profileType;
     Document           = new ProfileDocument(profileXml);
     this.Position      = position;
     this.SignalQuality = signalQuality;
     this.IsConnected   = isConnected;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Constructor
 /// </summary>
 public BssNetworkPack(
     InterfaceInfo interfaceInfo,
     NetworkIdentifier ssid,
     BssType bssType,
     NetworkIdentifier bssid,
     int signalStrength,
     int linkQuality,
     int frequency,
     int channel)
 {
     this.Interface      = interfaceInfo;
     this.Ssid           = ssid;
     this.BssType        = bssType;
     this.Bssid          = bssid;
     this.SignalStrength = signalStrength;
     this.LinkQuality    = linkQuality;
     this.Frequency      = frequency;
     this.Channel        = channel;
 }