IpHlpApiSetIpTTL Method

Sets the default time-to-live (TTL) value for the local computer.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("IpHlpApi.dll", ExactSpelling = true)]
public static Win32ErrorCode SetIpTTL(
	uint ttl
)

Parameters

ttl  UInt32
The new TTL value for the local computer.

Return Value

Win32ErrorCode
If this function succeeds, it returns ERROR_SUCCESS. Otherwise, it returns an Win32ErrorCode error code.

Remarks

See Also