 | NetworkTargetCompress Property |
Type of compression for protocol payload. Useful for UDP where datagram max-size is 8192 bytes.
Namespace:
NLog.Targets
Assembly:
NLog.Targets.Network (in NLog.Targets.Network.dll) Version: 6.0.0+be83582280f7a841b0d3c6ae75b4f95aaf07e914
Syntaxpublic NetworkTargetCompressionType Compress { get; set; }
Public Property Compress As NetworkTargetCompressionType
Get
Set
Dim instance As NetworkTarget
Dim value As NetworkTargetCompressionType
value = instance.Compress
instance.Compress = value
member Compress : NetworkTargetCompressionType with get, set
Property Value
Type:
NetworkTargetCompressionType
See Also