Click or drag to resize

NetworkInformationService Class

Implementation of the network information service
Inheritance Hierarchy
SystemObject
  SanteDB.DisconnectedClient.NetNetworkInformationService

Namespace:  SanteDB.DisconnectedClient.Net
Assembly:  SanteDB.DisconnectedClient.Core (in SanteDB.DisconnectedClient.Core.dll) Version: 2.2.1
Syntax
public class NetworkInformationService : INetworkInformationService, 
	IServiceImplementation

The NetworkInformationService type exposes the following members.

Constructors
  NameDescription
Public methodNetworkInformationService
Network availability changed
Top
Properties
  NameDescription
Public propertyIsNetworkAvailable
Return whether the network is available
Public propertyIsNetworkConnected
Gets whether the network is connected.
Public propertyIsNetworkWifi
Returns true if the network is wifi
Public propertyServiceName
Gets the service name.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetHostName
Get the hostname
Public methodGetInterfaces
Gets all available interfaces
Public methodGetMachineName
Get machine name
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNslookup
Perform a DNS lookup
Public methodPing
Retrieves the ping time to the specified host
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventNetworkStatusChanged
Network status has changed
Top
Extension Methods
  NameDescription
Public Extension MethodConvertTReturn
The purpose of this method is to convert object me to TReturn. Why? Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast so we have to copy.
(Defined by ExtensionMethods.)
Public Extension MethodGetInstanceOfTDomain
Gets an instance of TDomain from me
(Defined by ModelExtensions.)
Top
See Also