C# Class xenwinsvc.NetInfo

Inheritance: IRefresh
Afficher le fichier Open project: xenserver/win-xenguestagent Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void
NeedsRefresh ( ) : bool
NetInfo ( IExceptionHandler exceptionhandler ) : System
RecordDevices ( string type ) : void
Refresh ( bool force ) : bool
RefreshNetInfo ( ) : void
StoreChangedNetworkSettings ( ) : void

Méthodes protégées

Méthode Description
Finish ( ) : void

Private Methods

Méthode Description
ClonePVStatics ( string SrcName, string DestName, string SrcNetLuidMatchStr, string DestNetLuidMatchStr, bool delete ) : void
CloneValues ( RegistryKey src, RegistryKey dest ) : void
Dispose ( bool disposing ) : void
FindClassDeviceKeyForNetCfgInstanceId ( string NetCfgInstanceId ) : RegistryKey
FindClassDeviceKeyNameForNetCfgInstanceId ( string NetCfgInstanceId ) : string
FindClassDeviceNameForNetCfgInstanceId ( string NetCfgInstanceId ) : string
FindDeviceKeyForMac ( string mac ) : string
FindNetCfgInstanceIdForDriverKey ( string driverkey ) : string
FindNetCfgInstanceIdForMac ( string mac ) : string
FindNetLuidMatchStrForNetCfgInstanceId ( string NetCfgInstanceId ) : string
FromServiceIfaceToSeviceIface ( string Src, string Dest ) : void
FromServiceIfaceToStore ( string Src, RegistryKey StoreKey ) : void
FromStoreToServiceIface ( RegistryKey StoreKey, string Dest ) : void
GetMacStrFromPhysical ( System.Net.NetworkInformation.PhysicalAddress pa ) : string
StorePVNetworkSettingsToEmulatedDevicesOrSave ( ) : void
StoreSavedNetworkSettingsToEmulatedDevices ( ) : void
getIpv4AddrString ( NetworkInterface nic ) : string
getIpv6Addr ( NetworkInterface nic ) : IEnumerable
macsMatch ( string mac, NetworkInterface nic ) : bool
onAddrChange ( Object sender, EventArgs e ) : void
onVifChanged ( object nothing, System.Management.EventArrivedEventArgs args ) : void
onVifStaticIpSetting ( object nothing, System.Management.EventArrivedEventArgs args ) : void
removeDevices ( ) : void
updateNetworkInfo ( ) : void
writeDevice ( string device, NetworkInterface nics ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Finish() protected méthode

protected Finish ( ) : void
Résultat void

NeedsRefresh() public méthode

public NeedsRefresh ( ) : bool
Résultat bool

NetInfo() public méthode

public NetInfo ( IExceptionHandler exceptionhandler ) : System
exceptionhandler IExceptionHandler
Résultat System

RecordDevices() public static méthode

public static RecordDevices ( string type ) : void
type string
Résultat void

Refresh() public méthode

public Refresh ( bool force ) : bool
force bool
Résultat bool

RefreshNetInfo() public static méthode

public static RefreshNetInfo ( ) : void
Résultat void

StoreChangedNetworkSettings() public static méthode

public static StoreChangedNetworkSettings ( ) : void
Résultat void