105 references to FromBase64String
mscorlib (24)
system\runtime\remoting\soapinteroptypes.cs (1)
1044bA = Convert.FromBase64String(SoapType.FilterBin64(value));
system\runtime\serialization\formatters\binary\binaryobjectreader.cs (2)
679pr.PRnewObj = Convert.FromBase64String(pr.PRvalue); 1150objectPr.PRobjectInfo.AddValue(pr.PRname, Convert.FromBase64String(pr.PRvalue), ref objectPr.PRsi, ref objectPr.PRmemberData);
system\security\claims\ClaimsIdentity.cs (3)
1037using (MemoryStream stream = new MemoryStream(Convert.FromBase64String(serializedClaims))) 1333using (MemoryStream stream = new MemoryStream(Convert.FromBase64String(info.GetString(ActorKey)))) 1344using (MemoryStream ms = new MemoryStream(Convert.FromBase64String(info.GetString(BootstrapContextKey))))
system\security\claims\ClaimsPrincipal.cs (2)
393using (MemoryStream stream = new MemoryStream(Convert.FromBase64String(identities))) 401using (MemoryStream claimsIdentityStream = new MemoryStream(Convert.FromBase64String(listOfIdentities[i + 1])))
system\security\cryptography\dsa.cs (8)
168dsaParams.P = Convert.FromBase64String(Utils.DiscardWhiteSpaces(pString)); 175dsaParams.Q = Convert.FromBase64String(Utils.DiscardWhiteSpaces(qString)); 182dsaParams.G = Convert.FromBase64String(Utils.DiscardWhiteSpaces(gString)); 189dsaParams.Y = Convert.FromBase64String(Utils.DiscardWhiteSpaces(yString)); 193if (jString != null) dsaParams.J = Convert.FromBase64String(Utils.DiscardWhiteSpaces(jString)); 197if (xString != null) dsaParams.X = Convert.FromBase64String(Utils.DiscardWhiteSpaces(xString)); 203dsaParams.Seed = Convert.FromBase64String(Utils.DiscardWhiteSpaces(seedString)); 204dsaParams.Counter = Utils.ConvertByteArrayToInt(Convert.FromBase64String(Utils.DiscardWhiteSpaces(pgenCounterString)));
system\security\cryptography\rsa.cs (8)
277rsaParams.Modulus = Convert.FromBase64String(Utils.DiscardWhiteSpaces(modulusString)); 284rsaParams.Exponent = Convert.FromBase64String(Utils.DiscardWhiteSpaces(exponentString)); 288if (pString != null) rsaParams.P = Convert.FromBase64String(Utils.DiscardWhiteSpaces(pString)); 292if (qString != null) rsaParams.Q = Convert.FromBase64String(Utils.DiscardWhiteSpaces(qString)); 296if (dpString != null) rsaParams.DP = Convert.FromBase64String(Utils.DiscardWhiteSpaces(dpString)); 300if (dqString != null) rsaParams.DQ = Convert.FromBase64String(Utils.DiscardWhiteSpaces(dqString)); 304if (inverseQString != null) rsaParams.InverseQ = Convert.FromBase64String(Utils.DiscardWhiteSpaces(inverseQString)); 308if (dString != null) rsaParams.D = Convert.FromBase64String(Utils.DiscardWhiteSpaces(dString));
PresentationCore (1)
Core\CSharp\System\Windows\Ink\StrokeCollectionConverter.cs (1)
99using (MemoryStream ms = new MemoryStream(Convert.FromBase64String(text)))
PresentationFramework (2)
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (2)
244using (MemoryStream buffer = new MemoryStream(Convert.FromBase64String(node.InnerText))) 417using ( MemoryStream stream = new MemoryStream(Convert.FromBase64String(node.InnerText)) )
System (6)
net\System\Net\_NTAuthentication.cs (1)
622decodedIncomingBlob = Convert.FromBase64String(incomingBlob);
net\System\Net\HttpListener.cs (2)
1641bytes = Convert.FromBase64String(inBlob); 1748bytes = Convert.FromBase64String(inBlob);
net\System\Net\mail\SmtpNegotiateAuthenticationModule.cs (2)
62Convert.FromBase64String(challenge); 130byte[] input = Convert.FromBase64String(challenge);
sys\system\configuration\SettingsPropertyValue.cs (1)
190byte[] buf = Convert.FromBase64String(attValue);
System.Activities (1)
System\Activities\Debugger\Symbol\WorkflowSymbol.cs (1)
66byte[] data = Convert.FromBase64String(symbolString);
System.Configuration (1)
System\Configuration\DPAPIProtectedConfigurationProvider.cs (1)
152inputData = PrepareDataBlob(Convert.FromBase64String(encText));
System.Data (6)
fx\src\data\System\Data\Common\ObjectStorage.cs (2)
272return Convert.FromBase64String(s); 361retValue = Convert.FromBase64String(retValue.ToString());
fx\src\data\System\Data\Common\SQLConvert.cs (2)
624return new SqlBinary(Convert.FromBase64String((string)value)); 630return new SqlBytes(Convert.FromBase64String((string)value));
fx\src\data\System\Data\SQLTypes\SQLBinary.cs (1)
492m_value = Convert.FromBase64String(base64);
fx\src\data\System\Data\SQLTypes\SQLBytes.cs (1)
544 value = Convert.FromBase64String(base64);
System.Data.Services (4)
System\Data\Services\Parsing\WebConvert.cs (2)
520targetValue = Convert.FromBase64String(text); 524targetValue = new System.Data.Linq.Binary(Convert.FromBase64String(text));
System\Data\Services\Serializers\JsonDeserializer.cs (2)
91return Convert.FromBase64String(stringValue); 95return new System.Data.Linq.Binary(Convert.FromBase64String(stringValue));
System.Data.Services.Client (2)
System\Data\Services\Client\ClientConvert.cs (2)
146return Convert.FromBase64String(propertyValue); 192return Activator.CreateInstance(knownTypes[(int)StorageType.Binary], Convert.FromBase64String(propertyValue));
System.IdentityModel (13)
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (2)
2237binaryData = Convert.FromBase64String(reader.ReadElementContentAsString()); 2856return new BinarySecretSecurityToken(Convert.FromBase64String(base64KeyBytes));
System\IdentityModel\SignedXml.cs (2)
380this.signatureValue = System.Convert.FromBase64String(signatureText.Trim()); 1305this.digestValue = System.Convert.FromBase64String(digestText.Trim());
System\IdentityModel\Tokens\BootstrapContext.cs (3)
41using (XmlDictionaryReader reader = XmlDictionaryReader.CreateTextReader(Convert.FromBase64String(info.GetString(_tokenKey)), XmlDictionaryReaderQuotas.Max)) 52_tokenString = Text.Encoding.UTF8.GetString(Convert.FromBase64String(info.GetString(_tokenKey))); 63_tokenString = Text.Encoding.UTF8.GetString(Convert.FromBase64String(info.GetString(_tokenKey)));
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (2)
534nonce = Convert.FromBase64String(value); 553nonce = Convert.FromBase64String(value);
System\IdentityModel\Tokens\WSSecurityJan2004.cs (1)
234nonce = Convert.FromBase64String(nonceString);
System\IdentityModel\Tokens\XmlDsigSep2000.cs (2)
180byte[] modulus = Convert.FromBase64String( reader.ReadString() ); 184byte[] exponent = Convert.FromBase64String( reader.ReadString() );
System\IdentityModel\WrappedReader.cs (1)
183byte[] value = isBase64 ? Convert.FromBase64String(encodedValue) : HexBinary.Parse(encodedValue).Value;
System.Runtime.Remoting (1)
channels\core\corechannel.cs (1)
672byte[] byteArrayContent = Convert.FromBase64String(base64String);
System.Runtime.Serialization (1)
System\Runtime\Serialization\XmlReaderDelegator.cs (1)
502return Convert.FromBase64String(str);
System.Security (6)
system\security\cryptography\xml\cipherdata.cs (1)
107m_cipherValue = Convert.FromBase64String(Utils.DiscardWhiteSpaces(cipherValueNode.InnerText));
system\security\cryptography\xml\keyinfo.cs (3)
731m_CRL = Convert.FromBase64String(Utils.DiscardWhiteSpaces(x509CRLNodes.Item(0).InnerText)); 742AddSubjectKeyId(Convert.FromBase64String(Utils.DiscardWhiteSpaces(node.InnerText))); 750AddCertificate(new X509Certificate2(Convert.FromBase64String(Utils.DiscardWhiteSpaces(node.InnerText))));
system\security\cryptography\xml\reference.cs (1)
289m_digestValue = Convert.FromBase64String(Utils.DiscardWhiteSpaces(digestValueElement.InnerText));
system\security\cryptography\xml\signature.cs (1)
169m_signatureValue = Convert.FromBase64String(Utils.DiscardWhiteSpaces(signatureValueElement.InnerText));
System.ServiceModel (11)
System\ServiceModel\Channels\ContextProtocol.cs (1)
128XmlReader.Create(new MemoryStream(Convert.FromBase64String(value))));
System\ServiceModel\Channels\HttpRequestContext.cs (1)
216byte[] data = Convert.FromBase64String(e2eId);
System\ServiceModel\Channels\PeerSecurityHelpers.cs (1)
450auth = Convert.FromBase64String(XmlHelper.ReadTextElementAsTrimmedString(authElement));
System\ServiceModel\Description\ConfigLoader.cs (1)
90collection.Import(Convert.FromBase64String(element.Certificate.EncodedValue));
System\ServiceModel\RsaEndpointIdentity.cs (2)
55byte[] modulus = Convert.FromBase64String(reader.ReadElementString(XD.XmlSignatureDictionary.Modulus.Value, XD.XmlSignatureDictionary.Namespace.Value)); 56byte[] exponent = Convert.FromBase64String(reader.ReadElementString(XD.XmlSignatureDictionary.Exponent.Value, XD.XmlSignatureDictionary.Namespace.Value));
System\ServiceModel\Security\SctClaimSerializer.cs (1)
53byte[] sidBytes = Convert.FromBase64String(reader.GetAttribute(dictionary.Sid, dictionary.EmptyString));
System\ServiceModel\Security\WSSecurityJan2004.cs (1)
124binaryData = Convert.FromBase64String(encodedData);
System\ServiceModel\Security\WSTrust.cs (2)
528return Convert.FromBase64String(authenticatorString); 879negotiationData = Convert.FromBase64String(encodedBlob);
System\ServiceModel\X509CertificateEndpointIdentity.cs (1)
59X509Certificate2 certificate = new X509Certificate2(Convert.FromBase64String(reader.ReadElementString()));
System.ServiceModel.Channels (1)
System\ServiceModel\Channels\XmlByteStreamWriter.cs (1)
277byte[] buffer = Convert.FromBase64String(text);
System.ServiceModel.Web (1)
System\ServiceModel\Dispatcher\QueryStringConverter.cs (1)
138return (!string.IsNullOrEmpty(parameter)) ? Convert.FromBase64String(parameter) : new byte[] { };
System.Web (6)
Hosting\IIS7WorkerRequest.cs (1)
693byte[] binaryBlob = Convert.FromBase64String(correlationIdString); // unfortunately no TryConvert method
ModelBinding\BinaryDataModelBinderProvider.cs (1)
47bindingContext.Model = ConvertByteArray(Convert.FromBase64String(realValue));
Security\ADMembershipProvider.cs (1)
3417byte[] bEncryptedData = Convert.FromBase64String(encryptedString);
Security\SQLMembershipProvider.cs (2)
1906byte[] bSalt = Convert.FromBase64String(salt); 1958byte[] bIn = Convert.FromBase64String(pass);
UI\ObjectStateFormatter.cs (1)
370byte[] inputBytes = Convert.FromBase64String(inputString);
System.Web.Extensions (2)
ClientServices\Providers\ClientFormsAuthenticationMembershipProvider.cs (1)
648byte [] buf = Convert.FromBase64String(passwordSalt);
ClientServices\Providers\ClientSettingsProvider.cs (1)
734value.SerializedValue = Convert.FromBase64String(propVal);
System.Web.Services (2)
System\Web\Services\Protocols\RemoteDebugger.cs (2)
226buffer = Convert.FromBase64String(bufferString); 266byte[] buffer = Convert.FromBase64String(stringBuffer);
System.Windows.Forms (9)
parent\parent\parent\public\Internal\NDP\Inc\mansign2.cs (4)
775base64DecodedMessage = Convert.FromBase64String(encodedMessage); 845base64DecodedMessage = Convert.FromBase64String(timestamps[0].InnerText); 846base64DecodedSignatureValue = Convert.FromBase64String(signatureValues[0].InnerText); 1767byte[] sigValueBytes = Convert.FromBase64String(signatureValue);
winforms\Managed\System\Resources\ResXDataNode.cs (2)
725return Convert.FromBase64String(sb.ToString()); 728return Convert.FromBase64String(text);
winforms\Managed\System\WinForms\Control.cs (3)
16786return Convert.FromBase64String(sb.ToString()); 16789return Convert.FromBase64String(text); 17347byte[] bytes = Convert.FromBase64String(obj.ToString());
System.Xml (3)
System\Xml\Schema\DataTypeImplementation.cs (1)
2319byteArrayValue = Convert.FromBase64String(s);
System\Xml\Schema\XmlValueConverter.cs (1)
582return Convert.FromBase64String(XmlConvert.TrimString(value));
System\Xml\Serialization\Xmlcustomformatter.cs (1)
377return Convert.FromBase64String(value);
WindowsBase (2)
Base\MS\Internal\IO\Packaging\CompoundFile\RightsManagementEncryptionTransform.cs (2)
761byte[] userNameBytes = Convert.FromBase64String(base64UserName); 1247byte[] userNameBytes = Convert.FromBase64String(base64UserName);