Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

SPUtility.HexStringToByteArray method

SharePoint 2013

Converts a hex string like "0x1234abcd" to the byte array that it represents.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public static byte[] HexStringToByteArray(
	string hexValue


Type: System.String

The hex string to be converted.

Return value

Type: []
A byte array containing the binary representation of [hexValue].
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.