StringUtils.IsGuid method

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Strings
Assembly Skybrud.Essentials.dll

IsGuid(string)

Static

Gets whether the string matches a GUID (Guid ).

public static bool IsGuid(string str)

Parameters

str String

The string to validate.

Returns

true if str matches a GUID; otherwise false.