TextHelpers Class
Provides helper methods for text functions.
Namespace: Microsoft.ConfigurationManagement.Messaging.Framework
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Inheritance Hierarchy
System.Object
Microsoft.ConfigurationManagement.Messaging.Framework.TextHelpers
Syntax
[SerializableAttribute]
public static class TextHelpers
[SerializableAttribute]
[ExtensionAttribute]
public ref class TextHelpers abstract sealed
<SerializableAttribute>
<ExtensionAttribute>
Public NotInheritable Class TextHelpers
Methods
Name | Description | |
---|---|---|
EqualsCaseInsensitive(String, String) | Compares two strings for equivalence, ignoring the case. |
|
HexBinaryDecode(String) | Converts a string from an SMS blob format to a byte array. |
|
HexBinaryEncode(Byte[]) | Converts a byte array into an SMS blob format. |
|
IsFqdn(String) | Verifies whether a specified string is a valid FQDN. |
|
IsGuid(String) | Returns true if the specified string contains a GUID. |
|
IsValidSiteCode(String) | Verifies whether a specified string is a valid site code. |
|
StripBom(Byte[]) | If "0xff 0xfe BOM" is at the beginning of the input byte stream, it will be stripped. |
|
StripBom(String) | If "0xff 0xfe BOM" is at the beginning of the input string, it will be stripped. |
|
ToHex(Byte[]) | Converts a byte array into a hex string. |
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.ConfigurationManagement.Messaging.Framework Namespace
Return to top