IPAddress.IsValidUtf8(ReadOnlySpan<Byte>) Method   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the provided span contains a valid IPAddress.
public:
 static bool IsValidUtf8(ReadOnlySpan<System::Byte> utf8Text);public static bool IsValidUtf8(ReadOnlySpan<byte> utf8Text);static member IsValidUtf8 : ReadOnlySpan<byte> -> boolPublic Shared Function IsValidUtf8 (utf8Text As ReadOnlySpan(Of Byte)) As BooleanParameters
- utf8Text
- ReadOnlySpan<Byte>
The text to parse.
Returns
true if utf8Text contains a valid IP address; otherwise, false.