249 references to BitConverter
mscorlib (26)
microsoft\win32\win32native.cs (19)
346
Bias =
BitConverter
.ToInt32(bytes, 0);
347
StandardBias =
BitConverter
.ToInt32(bytes, 4);
348
DaylightBias =
BitConverter
.ToInt32(bytes, 8);
350
StandardDate.Year =
BitConverter
.ToInt16(bytes, 12);
351
StandardDate.Month =
BitConverter
.ToInt16(bytes, 14);
352
StandardDate.DayOfWeek =
BitConverter
.ToInt16(bytes, 16);
353
StandardDate.Day =
BitConverter
.ToInt16(bytes, 18);
354
StandardDate.Hour =
BitConverter
.ToInt16(bytes, 20);
355
StandardDate.Minute =
BitConverter
.ToInt16(bytes, 22);
356
StandardDate.Second =
BitConverter
.ToInt16(bytes, 24);
357
StandardDate.Milliseconds =
BitConverter
.ToInt16(bytes, 26);
359
DaylightDate.Year =
BitConverter
.ToInt16(bytes, 28);
360
DaylightDate.Month =
BitConverter
.ToInt16(bytes, 30);
361
DaylightDate.DayOfWeek =
BitConverter
.ToInt16(bytes, 32);
362
DaylightDate.Day =
BitConverter
.ToInt16(bytes, 34);
363
DaylightDate.Hour =
BitConverter
.ToInt16(bytes, 36);
364
DaylightDate.Minute =
BitConverter
.ToInt16(bytes, 38);
365
DaylightDate.Second =
BitConverter
.ToInt16(bytes, 40);
366
DaylightDate.Milliseconds =
BitConverter
.ToInt16(bytes, 42);
system\collections\hashtable.cs (1)
1834
ret =
BitConverter
.ToInt64(data, currentIndex);
system\double.cs (1)
54
internal static double NegativeZero =
BitConverter
.Int64BitsToDouble(unchecked((long)0x8000000000000000));
system\globalization\sortversion.cs (1)
33
byte[] b =
BitConverter
.GetBytes(effectiveId);
system\reflection\emit\dynamicilgenerator.cs (1)
869
EHCount = (
BitConverter
.ToInt32(size, 0) - 4) / 24;
system\runtime\serialization\formatters\binary\binarycommonclasses.cs (1)
464
throw new SerializationException(Environment.GetResourceString("Serialization_InvalidFormat",
BitConverter
.ToString(headerBytes)));
system\security\cryptography\capinative.cs (2)
356
return rawProperty.Length == sizeof(int) ?
BitConverter
.ToInt32(rawProperty, 0) : 0;
393
return rawProperty.Length == sizeof(int) ?
BitConverter
.ToInt32(rawProperty, 0) : 0;
PresentationFramework (1)
src\Framework\System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
1827
value =
BitConverter
.GetBytes(valueId);
System (10)
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);
net\System\Net\HttpWebRequest.cs (1)
6428
ControlChannelTriggerStatus status = (ControlChannelTriggerStatus)
BitConverter
.ToInt32(outputData, 0);
security\system\security\cryptography\bigint.cs (2)
273
byte[] bytes =
BitConverter
.GetBytes(carry);
298
byte[] bytes =
BitConverter
.GetBytes(carry);
security\system\security\cryptography\x509\x509extension.cs (1)
141
m_keyUsages =
BitConverter
.ToUInt32(keyUsage, 0);
System.Activities (1)
System\Activities\Expressions\AssemblyNameEqualityComparer.cs (1)
123
hashcode ^=
BitConverter
.ToUInt64(objArray, 0).GetHashCode();
System.Core (11)
System\Security\Cryptography\BCryptNative.cs (1)
485
return
BitConverter
.ToInt32(GetProperty(algorithm, property), 0);
System\Security\Cryptography\CapiNative.cs (2)
585
int keyLength =
BitConverter
.ToInt32(keyBlob, Marshal.SizeOf(typeof(BLOBHEADER)));
780
SetKeyParameter(key, parameter,
BitConverter
.GetBytes(value));
System\Security\Cryptography\CngKey.cs (1)
104
BitConverter
.GetBytes((int)value),
System\Security\Cryptography\NCryptNative.cs (5)
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));
1407
return
BitConverter
.ToInt32(valueBytes, 0);
1681
SetProperty(ncryptObject, propertyName,
BitConverter
.GetBytes(value), propertyOptions);
1874
int parameterSize =
BitConverter
.ToInt32(blob, sizeof(int));
System\Security\Cryptography\RsaCng.cs (2)
100
BitConverter
.GetBytes(KeySize),
244
int magic =
BitConverter
.ToInt32(tempMagic, 0);
System.Data (83)
fx\src\data\System\Data\Common\ObjectStorage.cs (10)
218
values[recordNo] =
BitConverter
.GetBytes((Boolean)value);
221
values[recordNo] =
BitConverter
.GetBytes((Char)value);
224
values[recordNo] =
BitConverter
.GetBytes((Int16)value);
227
values[recordNo] =
BitConverter
.GetBytes((Int32)value);
230
values[recordNo] =
BitConverter
.GetBytes((Int64)value);
233
values[recordNo] =
BitConverter
.GetBytes((UInt16)value);
236
values[recordNo] =
BitConverter
.GetBytes((UInt32)value);
239
values[recordNo] =
BitConverter
.GetBytes((UInt64)value);
242
values[recordNo] =
BitConverter
.GetBytes((Single)value);
245
values[recordNo] =
BitConverter
.GetBytes((Double)value);
fx\src\data\System\Data\Odbc\OdbcConnection.cs (4)
385
retval =
BitConverter
.ToInt32(buffer, 0);
412
resultValue =
BitConverter
.ToInt16(buffer, 0);
419
resultValue =
BitConverter
.ToInt32(buffer, 0);
426
return
BitConverter
.ToInt32(buffer, 0);
fx\src\data\System\Data\ProviderBase\DbBuffer.cs (6)
192
return
BitConverter
.Int64BitsToDouble(value);
428
WriteInt64(offset,
BitConverter
.DoubleToInt64Bits(value));
656
buffer[0] =
BitConverter
.ToInt32(bits, 4); // low
657
buffer[1] =
BitConverter
.ToInt32(bits, 8); // mid
658
buffer[2] =
BitConverter
.ToInt32(bits, 12); // high
659
if (0 !=
BitConverter
.ToInt32(bits, 16)) {
fx\src\data\System\Data\Sql\sqlnorm.cs (16)
349
byte[] b =
BitConverter
.GetBytes((short) GetValue(fi, obj));
364
SetValue(fi, recvr,
BitConverter
.ToInt16(b, 0));
372
byte[] b =
BitConverter
.GetBytes((ushort) GetValue(fi, obj));
385
SetValue(fi, recvr,
BitConverter
.ToUInt16(b, 0));
393
byte[] b =
BitConverter
.GetBytes((int) GetValue(fi, obj));
410
SetValue(fi, recvr,
BitConverter
.ToInt32(b, 0));
418
byte[] b =
BitConverter
.GetBytes((uint) GetValue(fi, obj));
431
SetValue(fi, recvr,
BitConverter
.ToUInt32(b, 0));
439
byte[] b =
BitConverter
.GetBytes((long) GetValue(fi, obj));
454
SetValue(fi, recvr,
BitConverter
.ToInt64(b, 0));
462
byte[] b =
BitConverter
.GetBytes((ulong) GetValue(fi, obj));
477
SetValue(fi, recvr,
BitConverter
.ToUInt64(b, 0));
486
byte[] b =
BitConverter
.GetBytes(f);
522
SetValue(fi, recvr,
BitConverter
.ToSingle(b, 0));
531
byte[] b =
BitConverter
.GetBytes(d);
569
SetValue(fi, recvr,
BitConverter
.ToDouble(b, 0));
fx\src\data\System\Data\SqlClient\SqlColumnEncryptionCertificateStoreProvider.cs (4)
116
Int16 keyPathLength =
BitConverter
.ToInt16(encryptedColumnEncryptionKey, currentIndex);
120
int cipherTextLength =
BitConverter
.ToInt16(encryptedColumnEncryptionKey, currentIndex);
210
byte[] keyPathLength =
BitConverter
.GetBytes((Int16)masterKeyPathBytes.Length);
214
byte[] cipherTextLength =
BitConverter
.GetBytes((Int16)cipherText.Length);
fx\src\data\System\Data\SqlClient\SqlColumnEncryptionCngProvider.cs (4)
96
UInt16 keyPathLength =
BitConverter
.ToUInt16(encryptedColumnEncryptionKey, currentIndex);
100
UInt16 cipherTextLength =
BitConverter
.ToUInt16(encryptedColumnEncryptionKey, currentIndex);
190
byte[] keyPathLength =
BitConverter
.GetBytes((Int16)masterKeyPathBytes.Length);
194
byte[] cipherTextLength =
BitConverter
.GetBytes((Int16)cipherText.Length);
fx\src\data\System\Data\SqlClient\SqlColumnEncryptionCspProvider.cs (4)
102
UInt16 keyPathLength =
BitConverter
.ToUInt16(encryptedColumnEncryptionKey, currentIndex);
106
UInt16 cipherTextLength =
BitConverter
.ToUInt16(encryptedColumnEncryptionKey, currentIndex);
196
byte[] keyPathLength =
BitConverter
.GetBytes((Int16)masterKeyPathBytes.Length);
200
byte[] cipherTextLength =
BitConverter
.GetBytes((Int16)cipherText.Length);
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (1)
2513
len =
BitConverter
.ToInt32(data, i); i += 4;
fx\src\data\System\Data\SqlClient\SqlSecurityUtility.cs (1)
181
return
BitConverter
.ToString(buff, startIndex, count);
fx\src\data\System\Data\SqlClient\TdsParser.cs (16)
1610
return
BitConverter
.GetBytes(v);
1614
byte[] bytes =
BitConverter
.GetBytes(v);
1719
return
BitConverter
.GetBytes(v);
1723
byte[] bytes =
BitConverter
.GetBytes(v);
3162
Bid.Trace("<sc.TdsParser.TryProcessFedAuthInfo> Read rest of FEDAUTHINFO token stream: %ls\n",
BitConverter
.ToString(tokenData, 0, totalRead));
3184
uint dataLen =
BitConverter
.ToUInt32(tokenData, checked((int)(currentOptionOffset + 1)));
3185
uint dataOffset =
BitConverter
.ToUInt32(tokenData, checked((int)(currentOptionOffset + 5)));
5069
longValue =
BitConverter
.ToInt64(unencryptedBytes, 0);
5103
singleValue =
BitConverter
.ToSingle(unencryptedBytes, 0);
5113
doubleValue =
BitConverter
.ToDouble(unencryptedBytes, 0);
5129
mid =
BitConverter
.ToInt32(unencryptedBytes, 0);
5130
lo =
BitConverter
.ToUInt32(unencryptedBytes, 4);
5163
daypart =
BitConverter
.ToInt32(unencryptedBytes, 0);
5164
timepart =
BitConverter
.ToUInt32(unencryptedBytes, 4);
5208
bits[i] =
BitConverter
.ToInt32(unencryptedBytes, index);
8391
byte[] lenBytes =
BitConverter
.GetBytes((Int64)size);
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (12)
1121
_outBytesUsed == (_outputHeaderLen +
BitConverter
.ToInt32(_outBuff, _outputHeaderLen)) &&
1369
value =
BitConverter
.ToInt32(_bTmp, 0);
1376
value =
BitConverter
.ToInt32(_inBuff, _inBytesUsed);
1411
value =
BitConverter
.ToInt64(_bTmp, 0);
1419
value =
BitConverter
.ToInt64(_inBuff, _inBytesUsed);
1487
value =
BitConverter
.ToUInt32(_bTmp, 0);
1495
value =
BitConverter
.ToUInt32(_inBuff, _inBytesUsed);
1518
value =
BitConverter
.ToSingle(_bTmp, 0);
1525
value =
BitConverter
.ToSingle(_inBuff, _inBytesUsed);
1548
value =
BitConverter
.ToDouble(_bTmp, 0);
1555
value =
BitConverter
.ToDouble(_inBuff, _inBytesUsed);
2816
&& _outBytesUsed == (_outputHeaderLen +
BitConverter
.ToInt32(_outBuff, _outputHeaderLen))
fx\src\data\System\Data\SqlClient\TdsValueSetter.cs (5)
519
_stateObj.WriteByteArray(
BitConverter
.GetBytes(time), (int)_metaData.MaxLength - 3, 0);
521
_stateObj.WriteByteArray(
BitConverter
.GetBytes(days), 3, 0);
562
_stateObj.WriteByteArray(
BitConverter
.GetBytes(time), length, 0);
589
_stateObj.WriteByteArray(
BitConverter
.GetBytes(time), length - 5, 0); // time
590
_stateObj.WriteByteArray(
BitConverter
.GetBytes(days), 3, 0); // date
System.Data.SqlXml (10)
System\Xml\Xsl\XPathConvert.cs (10)
26
return (uint)(
BitConverter
.DoubleToInt64Bits(dbl) >> 32);
30
return (uint)
BitConverter
.DoubleToInt64Bits(dbl);
570
return
BitConverter
.Int64BitsToDouble((long)dblHi << 32 | dblLo);
959
dblT =
BitConverter
.Int64BitsToDouble(0x4FF00000L << 32);
969
dblT =
BitConverter
.Int64BitsToDouble((long)dblHi << 32 | DblLo(dblT));
978
dblT =
BitConverter
.Int64BitsToDouble((long)dblHi << 32 | dblLo);
2446
dbl =
BitConverter
.Int64BitsToDouble(
BitConverter
.DoubleToInt64Bits(dbl) - 1);
2465
dbl =
BitConverter
.Int64BitsToDouble(
BitConverter
.DoubleToInt64Bits(dbl) + 1);
System.Drawing (2)
commonui\System\Drawing\Icon.cs (2)
1119
int iconSignature1 =
BitConverter
.ToInt32(iconData, bestImageOffset);
1120
int iconSignature2 =
BitConverter
.ToInt32(iconData, bestImageOffset + 4);
System.IdentityModel (2)
System\IdentityModel\RsaSignatureCookieTransform.cs (2)
164
Int32 signatureLength =
BitConverter
.ToInt32(encoded, currentIndex);
287
byte[] signatureLength =
BitConverter
.GetBytes(signature.Length);
System.IO.Log (6)
System\IO\Log\FileLogRecordHeader.cs (2)
76
BitConverter
.ToUInt64(this.bits, PreviousLsnOffsetHigh));
84
get { return new SequenceNumber(
BitConverter
.ToUInt64(this.bits, NextUndoLsnOffsetHigh)); }
System\IO\Log\LogLogRecordHeader.cs (2)
61
flags = (LogLogRecordFlags)
BitConverter
.ToUInt16(bits, FlagsOffset);
68
flags = (LogLogRecordFlags)
BitConverter
.ToUInt16(bits, FlagsOffset);
System\IO\Log\SequenceNumber.cs (2)
29
this.sequenceNumberHigh =
BitConverter
.ToUInt64(sequenceNumber, 0);
32
this.sequenceNumberLow =
BitConverter
.ToUInt64(sequenceNumber, 8);
System.Messaging (23)
System\Messaging\ActiveXMessageFormatter.cs (21)
172
return Decimal.FromOACurrency(
BitConverter
.ToInt64(newBytes, 0));
177
return new DateTime(
BitConverter
.ToInt64(newBytes, 0));
188
return
BitConverter
.ToInt16(bytes, 0);
193
return
BitConverter
.ToUInt16(bytes, 0);
198
return
BitConverter
.ToInt32(bytes, 0);
203
return
BitConverter
.ToUInt32(bytes, 0);
208
return
BitConverter
.ToInt64(bytes, 0);
213
return
BitConverter
.ToUInt64(bytes, 0);
218
return
BitConverter
.ToSingle(bytes, 0);
223
return
BitConverter
.ToDouble(bytes, 0);
312
byte[] bytes =
BitConverter
.GetBytes((Char)obj);
319
byte[] bytes =
BitConverter
.GetBytes(Decimal.ToOACurrency((Decimal)obj));
326
byte[] bytes =
BitConverter
.GetBytes(((DateTime)obj).Ticks);
333
byte[] bytes =
BitConverter
.GetBytes((Double)obj);
340
byte[] bytes =
BitConverter
.GetBytes((short)obj);
347
byte[] bytes =
BitConverter
.GetBytes((UInt16)obj);
354
byte[] bytes =
BitConverter
.GetBytes((int)obj);
361
byte[] bytes =
BitConverter
.GetBytes((UInt32)obj);
368
byte[] bytes =
BitConverter
.GetBytes((Int64)obj);
375
byte[] bytes =
BitConverter
.GetBytes((UInt64)obj);
382
byte[] bytes =
BitConverter
.GetBytes((float)obj);
System\Messaging\Message.cs (2)
2352
int id =
BitConverter
.ToInt32(bytes, GenericIdSize);
2393
Array.Copy(
BitConverter
.GetBytes(integerId), 0, bytes, GenericIdSize, 4);
System.Runtime.Serialization (6)
System\Xml\XmlBinaryReader.cs (6)
1297
if (IsStartArray(localName, namespaceUri, XmlBinaryNodeType.Int16TextWithEndElement) &&
BitConverter
.IsLittleEndian)
1304
if (IsStartArray(localName, namespaceUri, XmlBinaryNodeType.Int16TextWithEndElement) &&
BitConverter
.IsLittleEndian)
1327
if (IsStartArray(localName, namespaceUri, XmlBinaryNodeType.Int32TextWithEndElement) &&
BitConverter
.IsLittleEndian)
1334
if (IsStartArray(localName, namespaceUri, XmlBinaryNodeType.Int32TextWithEndElement) &&
BitConverter
.IsLittleEndian)
1357
if (IsStartArray(localName, namespaceUri, XmlBinaryNodeType.Int64TextWithEndElement) &&
BitConverter
.IsLittleEndian)
1364
if (IsStartArray(localName, namespaceUri, XmlBinaryNodeType.Int64TextWithEndElement) &&
BitConverter
.IsLittleEndian)
System.Security (2)
system\security\cryptography\bigint.cs (2)
276
byte[] bytes =
BitConverter
.GetBytes(carry);
301
byte[] bytes =
BitConverter
.GetBytes(carry);
System.ServiceModel (28)
System\ServiceModel\Channels\NativeMsmqMessage.cs (2)
521
int id =
BitConverter
.ToInt32(messageId, guidSize);
552
Array.Copy(
BitConverter
.GetBytes(integerId), 0, bytes, guidSize, 4);
System\ServiceModel\Channels\PeerIPHelper.cs (3)
314
if (
BitConverter
.ToUInt16(bytes, 0) == Six2FourPrefix)
316
else if (
BitConverter
.ToUInt32(bytes, 0) == TeredoPrefix)
318
else if (
BitConverter
.ToUInt32(bytes, 8) == IsatapIdentifier)
System\ServiceModel\MsmqIntegration\ActiveXSerializer.cs (21)
132
return Decimal.FromOACurrency(
BitConverter
.ToInt64(bytes, 0));
142
return new DateTime(
BitConverter
.ToInt64(bytes, 0));
162
return
BitConverter
.ToInt16(bytes, 0);
171
return
BitConverter
.ToUInt16(bytes, 0);
180
return
BitConverter
.ToInt32(bytes, 0);
189
return
BitConverter
.ToUInt32(bytes, 0);
198
return
BitConverter
.ToInt64(bytes, 0);
207
return
BitConverter
.ToUInt64(bytes, 0);
216
return
BitConverter
.ToSingle(bytes, 0);
225
return
BitConverter
.ToDouble(bytes, 0);
305
byte[] bytes =
BitConverter
.GetBytes((Char)obj);
311
byte[] bytes =
BitConverter
.GetBytes(Decimal.ToOACurrency((Decimal)obj));
317
byte[] bytes =
BitConverter
.GetBytes(((DateTime)obj).Ticks);
323
byte[] bytes =
BitConverter
.GetBytes((Double)obj);
335
byte[] bytes =
BitConverter
.GetBytes((short)obj);
341
byte[] bytes =
BitConverter
.GetBytes((UInt16)obj);
347
byte[] bytes =
BitConverter
.GetBytes((int)obj);
354
byte[] bytes =
BitConverter
.GetBytes((UInt32)obj);
361
byte[] bytes =
BitConverter
.GetBytes((Int64)obj);
368
byte[] bytes =
BitConverter
.GetBytes((UInt64)obj);
375
byte[] bytes =
BitConverter
.GetBytes((float)obj);
System\ServiceModel\Transactions\WsatProxy.cs (2)
421
byte[] isoLevelBytes =
BitConverter
.GetBytes((int)ConvertIsolationLevel(isoLevel));
425
byte[] isoFlagsBytes =
BitConverter
.GetBytes((int)isoFlags);
System.Web (8)
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 (4)
344
byte [] bufIdLen =
BitConverter
.GetBytes(bufId.Length);
345
byte [] bufDate =
BitConverter
.GetBytes(data.ExpireDate.ToFileTimeUtc());
364
DateTime expireDate = DateTime.FromFileTimeUtc(
BitConverter
.ToInt64(bBlob, 0));
367
int len =
BitConverter
.ToInt32(bBlob, 8);
UI\EventValidationStore.cs (1)
159
return
BitConverter
.ToInt32(obj, 0);
System.Xml (2)
System\Xml\XmlEncoding.cs (2)
56
if ( bigEndian ==
BitConverter
.IsLittleEndian ) {
108
if ( bigEndian ==
BitConverter
.IsLittleEndian ) {
WindowsBase (22)
Base\MS\Internal\IO\Packaging\CompoundFile\CompoundFileDeflateTransform.cs (3)
399
uint token =
BitConverter
.ToUInt32(_headerBuf, _ulongSize * 0);
406
uncompressedSize = (int)
BitConverter
.ToUInt32(_headerBuf, _ulongSize * 1);
407
compressedSize = (int)
BitConverter
.ToUInt32(_headerBuf, _ulongSize * 2);
Base\MS\Internal\IO\Packaging\CompoundFile\RightsManagementEncryptedStream.cs (3)
325
Debug.Assert(
BitConverter
.IsLittleEndian);
369
_streamOnDiskLength = (long)
BitConverter
.ToUInt64(prefixData, 0);
668
byte[] prefixData =
BitConverter
.GetBytes((ulong)_streamCachedLength);
Base\MS\Internal\IO\Zip\ZipIOBlockManager.cs (6)
567
byte[] tempBuffer =
BitConverter
.GetBytes(value);
577
byte[] tempBuffer =
BitConverter
.GetBytes(value);
587
byte[] tempBuffer =
BitConverter
.GetBytes(value);
597
byte[] tempBuffer =
BitConverter
.GetBytes(value);
607
byte[] tempBuffer =
BitConverter
.GetBytes(value);
617
byte[] tempBuffer =
BitConverter
.GetBytes(value);
Base\MS\Internal\IO\Zip\ZipIOExtraFieldPaddingElement.cs (1)
87
if (
BitConverter
.ToUInt16(sniffiedBytes, 0) != _signature)
Base\MS\Internal\Security\RightsManagement\NativeRightsManagementAPIsStructures.cs (8)
81
Year =
BitConverter
.ToUInt16(dataBuffer,0);
82
Month =
BitConverter
.ToUInt16(dataBuffer,2);
83
DayOfWeek =
BitConverter
.ToUInt16(dataBuffer,4);
84
Day =
BitConverter
.ToUInt16(dataBuffer,6);
85
Hour =
BitConverter
.ToUInt16(dataBuffer,8);
86
Minute =
BitConverter
.ToUInt16(dataBuffer,10);
87
Second =
BitConverter
.ToUInt16(dataBuffer,12);
88
Milliseconds =
BitConverter
.ToUInt16(dataBuffer,14);
Base\System\Security\RightsManagement\CryptoProvider.cs (1)
452
return
BitConverter
.ToInt32(dataBuffer,0);
WsatConfig (3)
Configuration\ClusterRegistryConfigurationProvider.cs (3)
172
return (uint)
BitConverter
.ToUInt32(buffer, 0);
177
byte[] buffer =
BitConverter
.GetBytes(value);
274
index < buffer.Length - 1 &&
BitConverter
.ToChar(buffer, index) != 0;
WsatUI (3)
Configuration\ClusterRegistryConfigurationProvider.cs (3)
172
return (uint)
BitConverter
.ToUInt32(buffer, 0);
177
byte[] buffer =
BitConverter
.GetBytes(value);
274
index < buffer.Length - 1 &&
BitConverter
.ToChar(buffer, index) != 0;