Click or drag to resize

XServerUrlPort Method

Matches a module name to the corresponding port. For example, 'xmap' results in a return value of 50010, which represents the default port number, commonly used for XMap.

Namespace:  Ptv.XServer.Controls.Map.Tools
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
public static int Port(
	string moduleName
)

Parameters

moduleName
Type: SystemString
Name of the mode, for example 'XMap' or 'XRoute'.

Return Value

Type: Int32
Default port number of the module specified in moduleName
See Also