Cuemon .NET Framework
TryFromBase64String(String,Byte[]) Method

The Base64 to convert.
The array that will contain the parsed value.
Converts the string representation of a Base64 to its equivalent byte[] array.
Syntax
'Declaration
 
Public Overloads Shared Function TryFromBase64String( _
   ByVal value As String, _
   ByRef result As Byte() _
) As Boolean
public static bool TryFromBase64String( 
   string value,
   out byte[] result
)

Parameters

value
The Base64 to convert.
result
The array that will contain the parsed value.

Return Value

true if the parse operation was successful; otherwise, false.
Remarks
This method returns false if value is null, empty or not in a recognized format, and does not throw an exception.
result will have a default value of null.
Requirements

Target Platforms: Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ByteConverter Class
ByteConverter Members
Overload List

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback