| NetworkTargetAddress Property |
Gets or sets the network address.
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public Layout Address { get; set; }
Public Property Address As Layout
Get
Set
Dim instance As NetworkTarget
Dim value As Layout
value = instance.Address
instance.Address = value
member Address : Layout with get, set
Property Value
Type:
LayoutRemarks
The network address can be:
- tcp://host:port - TCP (auto select IPv4/IPv6)
- tcp4://host:port - force TCP/IPv4
- tcp6://host:port - force TCP/IPv6
- udp://host:port - UDP (auto select IPv4/IPv6)
- udp4://host:port - force UDP/IPv4
- udp6://host:port - force UDP/IPv6
- http://host:port/pageName - HTTP using POST verb
- https://host:port/pageName - HTTPS using POST verb
For SOAP-based webservice support over HTTP use WebService target.
See Also