Reverse int value byte order. Static function in IPAddress class doesn't work the way I expected it (didn't troubleshoot)

Namespace:  SnmpSharpNet
Assembly:  SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.7.0.0 (0.7.0.0)

Syntax

C#
public static uint ReverseByteOrder(
	uint val
)
Visual Basic (Declaration)
Public Shared Function ReverseByteOrder ( _
	val As UInteger _
) As UInteger
Visual C++
public:
static unsigned int ReverseByteOrder(
	unsigned int val
)

Parameters

val
Type: System..::.UInt32
Integer value to reverse

Return Value

Reversed integer value

See Also