Click or drag to resize
IExternalIPAddressService Interface
The interface for objects that find out the external IP address of the user.

Namespace: VirtualRadar.Interface
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public interface IExternalIPAddressService : ISingleton<IExternalIPAddressService>

The IExternalIPAddressService type exposes the following members.

Properties
  NameDescription
Public propertyAddress
Public propertyProvider
Gets or sets the object that isolates the service from the environment.
Public propertySingleton
Gets the single instance of the class that should be used throughout the application.
(Inherited from ISingletonT.)
Top
Methods
  NameDescription
Public methodGetExternalIPAddress
Returns the external IP address of the application.
Top
Events
  NameDescription
Public eventAddressUpdated
Top
Remarks
The main screen presenter normally uses this to determine the external IP address. If you are writing a plugin and would like to know the public IP address of the computer then hook AddressUpdated on the singleton in your Startup method and it will eventually be called some time after the main screen fires up.
See Also