35 references to GetBytes
mscorlib (3)
system\bitconverter.cs (2)
118
return
GetBytes
((int)value);
139
return
GetBytes
(*(int*)&value);
system\globalization\sortversion.cs (1)
33
byte[] b = BitConverter.
GetBytes
(effectiveId);
System (8)
net\System\Net\_DigestClient.cs (5)
1180
BitConverter.
GetBytes
(initiatorType).CopyTo(formattedData, 0);
1181
BitConverter.
GetBytes
(initiatorLength).CopyTo(formattedData, SizeOfInt);
1191
BitConverter.
GetBytes
(acceptorType).CopyTo(formattedData, offset);
1192
BitConverter.
GetBytes
(acceptorLength).CopyTo(formattedData, offset + SizeOfInt);
1202
BitConverter.
GetBytes
(applicationDataLength).CopyTo(formattedData, offset);
net\System\Net\_SSPIWrapper.cs (1)
358
var buffer = BitConverter.
GetBytes
(shutdownToken);
security\system\security\cryptography\bigint.cs (2)
273
byte[] bytes = BitConverter.
GetBytes
(carry);
298
byte[] bytes = BitConverter.
GetBytes
(carry);
System.Core (6)
System\Security\Cryptography\CapiNative.cs (1)
780
SetKeyParameter(key, parameter, BitConverter.
GetBytes
(value));
System\Security\Cryptography\CngKey.cs (1)
104
BitConverter.
GetBytes
((int)value),
System\Security\Cryptography\NCryptNative.cs (3)
963
Buffer.BlockCopy(BitConverter.
GetBytes
((int)algorithmMagic), 0, blob, 0, sizeof(int));
964
Buffer.BlockCopy(BitConverter.
GetBytes
(xBytes.Length), 0, blob, sizeof(int), sizeof(int));
1681
SetProperty(ncryptObject, propertyName, BitConverter.
GetBytes
(value), propertyOptions);
System\Security\Cryptography\RsaCng.cs (1)
100
BitConverter.
GetBytes
(KeySize),
System.Data (4)
fx\src\data\System\Data\Common\ObjectStorage.cs (1)
227
values[recordNo] = BitConverter.
GetBytes
((Int32)value);
fx\src\data\System\Data\Sql\sqlnorm.cs (1)
393
byte[] b = BitConverter.
GetBytes
((int) GetValue(fi, obj));
fx\src\data\System\Data\SqlClient\TdsValueSetter.cs (2)
521
_stateObj.WriteByteArray(BitConverter.
GetBytes
(days), 3, 0);
590
_stateObj.WriteByteArray(BitConverter.
GetBytes
(days), 3, 0); // date
System.IdentityModel (1)
System\IdentityModel\RsaSignatureCookieTransform.cs (1)
287
byte[] signatureLength = BitConverter.
GetBytes
(signature.Length);
System.Messaging (2)
System\Messaging\ActiveXMessageFormatter.cs (1)
354
byte[] bytes = BitConverter.
GetBytes
((int)obj);
System\Messaging\Message.cs (1)
2393
Array.Copy(BitConverter.
GetBytes
(integerId), 0, bytes, GenericIdSize, 4);
System.Security (2)
system\security\cryptography\bigint.cs (2)
276
byte[] bytes = BitConverter.
GetBytes
(carry);
301
byte[] bytes = BitConverter.
GetBytes
(carry);
System.ServiceModel (4)
System\ServiceModel\Channels\NativeMsmqMessage.cs (1)
552
Array.Copy(BitConverter.
GetBytes
(integerId), 0, bytes, guidSize, 4);
System\ServiceModel\MsmqIntegration\ActiveXSerializer.cs (1)
347
byte[] bytes = BitConverter.
GetBytes
((int)obj);
System\ServiceModel\Transactions\WsatProxy.cs (2)
421
byte[] isoLevelBytes = BitConverter.
GetBytes
((int)ConvertIsolationLevel(isoLevel));
425
byte[] isoFlagsBytes = BitConverter.
GetBytes
((int)isoFlags);
System.Web (4)
Hosting\ISAPIWorkerRequest.cs (2)
2924
byte[] offsetBytes = BitConverter.
GetBytes
(offset);
2925
byte[] lengthBytes = BitConverter.
GetBytes
(length);
HttpRuntime.cs (1)
3367
bufin = BitConverter.
GetBytes
(UnsafeNativeMethods.RESTRICT_BIN);
Security\AnonymousIdentificationModule.cs (1)
344
byte [] bufIdLen = BitConverter.
GetBytes
(bufId.Length);
WindowsBase (1)
Base\MS\Internal\IO\Zip\ZipIOBlockManager.cs (1)
577
byte[] tempBuffer = BitConverter.
GetBytes
(value);