software products and customization
Contact: support@xuebrothers.net Home page

ActiveSIGA Programming Interfaces


Interface 1: MapEntry

Name Type Description
RemoteHost String property The IP address of the remote host mapped or to be mapped
ExternalPort Number property The external port number mapped or to be mapped
Protocol String property The protocol mapped or to be mapped, such as TCP, UDP, etc. Must be in uppercase
InternalPort Number property The internal port mapped or to be mapped
InternalClient String property The IP address of the internal client mapped or to be mapped
Enabled Boolean property The mapping is enabled or not
PortMappingDescription String property Description about the mapping

Interface 2: Siga

Name Type Argument Return Value Description
GetExternalIPAddress Method String, IP address Get the router's external IP address. An empty string will be returned if an error occures. The LastError property has the description about the error.
GetGenericPortMappingEntry Method
  • Number, index of the entry to query
MapEntry object Query information about a mapped entry. An null object will be returned if an error occures. The LastError property has the description about the error.
AddPortMapping Method
  • MapEntry object
true/false Add a port mapping. false will be returned if an error occures The LastError property has the description about the error.
DeletePortMapping Method
  • MapEntry object
true/false Delete a port mapping false will be returned if an error occures The LastError property has the description about the error.
LastError String Property Description about the last error
License String Property Description about license of ActiveSIGA