PrimitiveExtensions.FromBase64StringNoPadding Method
Namespace: Microsoft.VisualStudio.Services.Common
Assembly: Microsoft.VisualStudio.Services.Common (in Microsoft.VisualStudio.Services.Common.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function FromBase64StringNoPadding ( _
base64String As String _
) As Byte()
public static byte[] FromBase64StringNoPadding(
this string base64String
)
[ExtensionAttribute]
public:
static array<unsigned char>^ FromBase64StringNoPadding(
String^ base64String
)
static member FromBase64StringNoPadding :
base64String:string -> byte[]
public static function FromBase64StringNoPadding(
base64String : String
) : byte[]
Parameters
- base64String
Type: System.String
Return Value
Type: array<System.Byte[]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.