Share via


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
System_CAPS_pubmethodSystem_CAPS_static EqualsCaseInsensitive(String, String)

Compares two strings for equivalence, ignoring the case.

System_CAPS_pubmethodSystem_CAPS_static HexBinaryDecode(String)

Converts a string from an SMS blob format to a byte array.

System_CAPS_pubmethodSystem_CAPS_static HexBinaryEncode(Byte[])

Converts a byte array into an SMS blob format.

System_CAPS_pubmethodSystem_CAPS_static IsFqdn(String)

Verifies whether a specified string is a valid FQDN.

System_CAPS_pubmethodSystem_CAPS_static IsGuid(String)

Returns true if the specified string contains a GUID.

System_CAPS_pubmethodSystem_CAPS_static IsValidSiteCode(String)

Verifies whether a specified string is a valid site code.

System_CAPS_pubmethodSystem_CAPS_static StripBom(Byte[])

If "0xff 0xfe BOM" is at the beginning of the input byte stream, it will be stripped.

System_CAPS_pubmethodSystem_CAPS_static StripBom(String)

If "0xff 0xfe BOM" is at the beginning of the input string, it will be stripped.

System_CAPS_pubmethodSystem_CAPS_static 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