Click or drag to resize

XMapMetaInfo Class

This class fetches xMapServer meta-information by requesting the xmap .properties file and includes other information needed to operate on XMapServer.
Inheritance Hierarchy
SystemObject
  Ptv.XServer.Controls.Map.ToolsXMapMetaInfo

Namespace:  Ptv.XServer.Controls.Map.Tools
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
public class XMapMetaInfo

The XMapMetaInfo type exposes the following members.

Constructors
  NameDescription
Public methodXMapMetaInfo
Initializes a new instance of the XMapMetaInfo class.
Public methodXMapMetaInfo(String)
Initializes a new instance of the XMapMetaInfo class by requesting the xmap .properties file, initializing the CopyrightText and MaxRequestSize, if this file could be requested. The User and Password remains empty.
Top
Properties
  NameDescription
Public propertyCopyrightText
Gets or sets the copyright text.
Public propertyMaxRequestSize
Gets or sets the maximum request size for an xMapServer image.
Public propertyPassword
Gets or sets the password for basic Http authentication.
Public propertyUrl
Gets or sets the xMapServer url (e.g. http://127.0.0.1:50010/xmap/ws/XMap).
Public propertyUser
Gets or sets the newUser name for basic Http authentication.
Top
Methods
  NameDescription
Public methodCheckCredentials
Checking credential parameters for HTTP authentication, which are necessary for an xServer configuration running in an Azure environment. After registering in the Customer Centre, you received your personal account data. This data needed for authentication consists of the username, password and a token. Meanwhile the username and password is needed for every authentication aspect, the token is restricted to programming reasons. We recommend to use the token only in your further development steps.
Public methodSetCredentials
Setting credential parameters for HTTP authentication, which are necessary for an xServer configuration running in an Azure environment. After registering in the Customer Centre, you received your personal account data. This data needed for authentication consists of the username, password and a token. Meanwhile the username and password is needed for every authentication aspect, the token is restricted to programming reasons. We recommend to use the token only in your further development steps.
Top
Extension Methods
  NameDescription
Public Extension MethodToJson
Converts an object to a JSON string representation.
(Defined by JSONWriter.)
Top
See Also