226 references to Close
mscorlib (13)
system\io\file.cs (1)
1396
handle.
Close
();
system\io\filestream.cs (2)
895
_handle.
Close
();
920
_handle.
Close
();
system\io\isolatedstorage\isolatedstoragefile.cs (1)
2495
hnd.
Close
(); // Close Find handle in all cases.
system\security\principal\windowsidentity.cs (6)
911
safeTokenHandle.
Close
();
1362
safeAllocHandle.
Close
();
1425
safeAllocHandle.
Close
();
1426
safeAllocHandlePrimaryGroup.
Close
();
1461
safeAllocHandle.
Close
();
1561
safeAllocHandle.
Close
();
system\security\securestring.cs (2)
181
m_buffer.
Close
();
357
m_buffer.
Close
();
system\threading\waithandle.cs (1)
618
safeWaitHandle.
Close
();
PresentationCore (5)
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (1)
1000
pIWicConverter.
Close
();
Core\CSharp\System\Windows\Media\Imaging\CroppedBitmap.cs (1)
163
wicClipper.
Close
();
Core\CSharp\System\Windows\Media\Imaging\FormatConvertedBitmap.cs (1)
178
wicFormatter.
Close
();
Core\CSharp\System\Windows\Media\Imaging\RenderTargetBitmap.cs (1)
273
_convertedDUCEPtr.
Close
();
Core\CSharp\System\Windows\Media\MediaPlayerState.cs (1)
929
_nativeMedia.
Close
();
System (77)
compmod\microsoft\win32\NativeMethods.cs (3)
135
hStdInput.
Close
();
140
hStdOutput.
Close
();
145
hStdError.
Close
();
compmod\system\codedom\compiler\CompilerParameters.cs (1)
315
userToken.
Close
();
compmod\system\codedom\compiler\Executor.cs (4)
278
primaryToken.
Close
();
313
procSH.
Close
();
314
threadSH.
Close
();
316
primaryToken.
Close
();
net\System\Net\_AutoWebProxyScriptEngine.cs (3)
336
regKeyPolicy.
Close
();
340
regKeyLM.
Close
();
344
regKey.
Close
();
net\System\Net\_ListenerResponseStream.cs (1)
216
bufferAsIntPtr.
Close
();
net\System\Net\_NTAuthentication.cs (4)
531
authData.
Close
();
607
m_SecurityContext.
Close
();
743
m_CredentialsHandle.
Close
();
901
m_CredentialsHandle.
Close
();
net\System\Net\_SafeNetHandles.cs (6)
738
Close
();
1632
outFreeContextBuffer.
Close
();
1951
outFreeContextBuffer.
Close
();
2476
socket.
Close
();
2527
Close
();
3041
Close
();
net\System\Net\_SecureChannel.cs (5)
205
remoteContext.
Close
();
284
m_SecurityContext.
Close
();
287
m_CredentialsHandle.
Close
();
491
issuerList.aIssuers.
Close
();
1046
m_CredentialsHandle.
Close
();
net\System\Net\_SSPIWrapper.cs (2)
46
arrayBaseHandle.
Close
();
633
SspiHandle.
Close
();
net\System\Net\Cache\IERequestCache.cs (4)
307
handle.
Close
();
335
handle.
Close
();
640
m_Handle.
Close
();
760
m_Handle.
Close
();
net\System\Net\Cache\WinInetCache.cs (2)
300
handle.
Close
();
467
handle.
Close
();
net\System\Net\DNS.cs (1)
1171
root.
Close
();
net\System\Net\filewebrequest.cs (1)
599
SafeFileHandle.
Close
();
net\System\Net\Internal.cs (3)
249
buffer.
Close
();
655
ipv6Socket.
Close
();
659
ipv4Socket.
Close
();
net\System\Net\mail\smtpconnection.cs (2)
206
channelBindingToken.
Close
();
230
channelBindingToken.
Close
();
net\System\Net\NetWebProxyFinder.cs (1)
516
autoProxyUrl.
Close
();
net\System\Net\NetworkInformation\ping.cs (4)
142
handlePingV4.
Close
();
147
handlePingV6.
Close
();
159
replyBuffer.
Close
();
766
requestBuffer.
Close
();
net\System\Net\NetworkInformation\SystemIPGlobalProperties.cs (5)
44
buffer.
Close
();
190
buffer.
Close
();
241
buffer.
Close
();
296
buffer.
Close
();
346
buffer.
Close
();
net\System\Net\NetworkInformation\SystemIPv4InterfaceProperties.cs (1)
98
buffer.
Close
();
net\System\Net\NetworkInformation\SystemNetworkInterface.cs (1)
115
buffer.
Close
();
net\System\Net\Sockets\Socket.cs (2)
6007
socketV4.
Close
();
6023
socketV6.
Close
();
net\System\Net\WinHttpWebProxyFinder.cs (1)
147
session.
Close
();
services\io\system\io\FileSystemWatcher.cs (2)
642
directoryHandle.
Close
();
1041
directoryHandle.
Close
();
services\monitoring\system\diagnosticts\EventLog.cs (1)
1025
handle.
Close
();
services\monitoring\system\diagnosticts\EventLogInternal.cs (6)
665
readHandle.
Close
();
676
writeHandle.
Close
();
690
handle.
Close
();
792
readHandle.
Close
();
797
writeHandle.
Close
();
862
hModule.
Close
();
services\monitoring\system\diagnosticts\Process.cs (4)
1264
handle.
Close
();
1303
m_processHandle.
Close
();
1939
hTmp.
Close
();
2170
threadSH.
Close
();
services\monitoring\system\diagnosticts\ProcessManager.cs (2)
633
hCurProcess.
Close
();
728
processHandle.
Close
();
services\monitoring\system\diagnosticts\ProcessThread.cs (1)
305
handle.
Close
();
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (1)
1629
if (securityDescriptorPointer != null) securityDescriptorPointer.
Close
();
sys\system\io\ports\SerialStream.cs (3)
779
tempHandle.
Close
();
851
_handle.
Close
();
856
_handle.
Close
();
System.Core (3)
System\Diagnostics\Eventing\Reader\EventLogSession.cs (1)
142
erLogin.Password.
Close
();
System\Diagnostics\Eventing\Reader\ProviderMetadata.cs (2)
231
elHandle.
Close
();
424
elHandle.
Close
();
System.Drawing (1)
commonui\System\Drawing\Printing\PrintController.cs (1)
312
modeHandle.
Close
();
System.IdentityModel (31)
System\IdentityModel\Claims\WindowsClaimSet.cs (3)
302
safeAllocHandle.
Close
();
337
safeAllocHandle.
Close
();
373
safeAllocHandle.
Close
();
System\IdentityModel\Privilege.cs (2)
94
this.threadToken.
Close
();
154
processToken.
Close
();
System\IdentityModel\RijndaelCryptoServiceProvider.cs (4)
126
keyHandle.
Close
();
128
provHandle.
Close
();
156
this.keyHandle.
Close
();
160
this.provHandle.
Close
();
System\IdentityModel\Selectors\WindowsUserNameSecurityTokenAuthenticator.cs (1)
65
tokenHandle.
Close
();
System\IdentityModel\Selectors\X509CertificateChain.cs (1)
205
hCertStore.
Close
();
System\IdentityModel\Selectors\X509CertificateStore.cs (3)
265
pCertContext.
Close
();
267
pvFindPara.
Close
();
268
pvTemp.
Close
();
System\IdentityModel\Selectors\X509SecurityTokenAuthenticator.cs (6)
283
tokenHandle.
Close
();
287
pLogonInfo.
Close
();
291
profileHandle.
Close
();
295
pSourceName.
Close
();
299
pPackageName.
Close
();
303
logonHandle.
Close
();
System\IdentityModel\SspiSafeHandles.cs (2)
327
outFreeContextBuffer.
Close
();
601
outFreeContextBuffer.
Close
();
System\IdentityModel\SspiWrapper.cs (3)
332
arrayBaseHandle.
Close
();
647
sspiHandle.
Close
();
682
sspiHandle.
Close
();
System\IdentityModel\Tokens\KerberosReceiverSecurityToken.cs (3)
277
tokenHandle.
Close
();
280
securityContext.
Close
();
283
credentialsHandle.
Close
();
System\IdentityModel\Tokens\KerberosRequestorSecurityToken.cs (2)
220
securityContext.
Close
();
223
credentialsHandle.
Close
();
System\IdentityModel\Tokens\WindowsUserNameSecurityTokenHandler.cs (1)
129
tokenHandle.
Close
();
System.IO.Log (11)
System\IO\Log\LogArchiveSnapshot.cs (1)
123
archiveContext.
Close
();
System\IO\Log\LogLogRecordEnumerator.cs (2)
105
this.readContext.
Close
();
245
this.readContext.
Close
();
System\IO\Log\LogRecordSequence.cs (2)
631
this.marshalContext.
Close
();
979
this.marshalContext.
Close
();
System\IO\Log\LogRestartAreaEnumerator.cs (2)
85
this.readContext.
Close
();
206
this.readContext.
Close
();
System\IO\Log\LogStore.cs (2)
150
this.logFile.
Close
();
425
this.logFile.
Close
();
System\IO\Log\SimpleFileLog.cs (2)
80
this.smuggledLog.
Close
();
241
if (pData != null && !pData.IsInvalid) pData.
Close
();
System.Messaging (7)
System\Messaging\Cursor.cs (1)
48
handle.
Close
();
System\Messaging\MessageEnumerator.cs (1)
111
this.handle.
Close
();
System\Messaging\MessageQueue.cs (3)
2678
cursorHandle.
Close
();
4511
this.writeHandle.
Close
();
4521
this.readHandle.
Close
();
System\Messaging\MessageQueueEnumerator.cs (1)
90
this.locatorHandle.
Close
();
System\Messaging\SecurityContext.cs (1)
37
handle.
Close
();
System.ServiceModel (43)
System\ServiceModel\Activation\SharedMemory.cs (7)
46
fileMapping.
Close
();
66
view.
Close
();
74
fileMapping.
Close
();
90
fileMapping.
Close
();
125
fileMapping.
Close
();
150
view.
Close
();
155
fileMapping.
Close
();
System\ServiceModel\Activation\Utility.cs (12)
144
token.
Close
();
150
process.
Close
();
163
process.
Close
();
176
process.
Close
();
228
token.
Close
();
233
process.
Close
();
362
token.
Close
();
367
process.
Close
();
393
token.
Close
();
398
process.
Close
();
435
service.
Close
();
440
scManager.
Close
();
System\ServiceModel\Channels\PipeConnection.cs (10)
586
this.pipe.
Close
();
668
targetProcessHandle.
Close
();
1823
pipeHandle.
Close
();
2129
pipeHandle.
Close
();
2343
pipeHandle.
Close
();
2380
this.pipeHandle.
Close
();
2580
fileMapping.
Close
();
2641
fileMapping.
Close
();
2666
view.
Close
();
2707
view.
Close
();
System\ServiceModel\ComIntegration\OuterProxyWrapper.cs (1)
38
monikerSupportLibrary.
Close
();
System\ServiceModel\Dispatcher\SecurityImpersonationBehavior.cs (1)
542
tokenHandle.
Close
();
System\ServiceModel\Security\AcceleratedTokenProvider.cs (1)
158
this.credentialsHandle.
Close
();
System\ServiceModel\Security\ClientCredentialsSecurityTokenManager.cs (1)
847
this.credentialsHandle.
Close
();
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (1)
357
this.credentialsHandle.
Close
();
System\ServiceModel\Security\ServiceCredentialsSecurityTokenManager.cs (1)
570
this.credentialsHandle.
Close
();
System\ServiceModel\Security\SpnegoTokenAuthenticator.cs (1)
111
this.credentialsHandle.
Close
();
System\ServiceModel\Security\SpnegoTokenProvider.cs (1)
194
this.credentialsHandle.
Close
();
System\ServiceModel\Security\TlsSspiNegotiation.cs (4)
624
this.securityContext.
Close
();
629
this.credentialsHandle.
Close
();
667
remoteContext.
Close
();
695
token.
Close
();
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (2)
743
this.credentialsHandle.
Close
();
1083
tokenHandle.
Close
();
System.ServiceModel.Activation (3)
System\ServiceModel\Activation\HostedImpersonationContext.cs (1)
123
tokenHandle.
Close
();
System\ServiceModel\Activation\MetabaseReader.cs (2)
105
bufferHandle.
Close
();
223
bufferHandle.
Close
();
System.Transactions (4)
System\Transactions\Oletx\DTCTransactionManager.cs (1)
98
whereaboutsBuffer.
Close
();
System\Transactions\Oletx\OletxTransactionManager.cs (1)
475
prepareInfoBuffer.
Close
();
System\Transactions\TransactionInterop.cs (2)
152
cookieBuffer.
Close
();
360
propagationTokenBuffer.
Close
();
WindowsBase (5)
Base\System\Security\RightsManagement\CryptoProvider.cs (4)
220
_decryptorHandle.
Close
();
223
_encryptorHandle.
Close
();
226
_boundLicenseOwnerViewRightsHandle.
Close
();
234
boundLicenseHandle.
Close
();
Base\System\Windows\SplashScreen.cs (1)
370
_hBitmap.
Close
();
WsatConfig (8)
Configuration\CertificateManager.cs (5)
64
regKey.
Close
();
66
hive.
Close
();
242
storeHandle.
Close
();
243
prev.
Close
();
247
current.
Close
();
Configuration\QfeChecker.cs (1)
77
regKey.
Close
();
Configuration\WsatServiceCertificate.cs (2)
91
sslConf.ParamDesc.pSslHash.
Close
();
148
sslConf.ParamDesc.pSslHash.
Close
();
WsatUI (15)
Configuration\CertificateManager.cs (7)
64
regKey.
Close
();
66
hive.
Close
();
114
remoteBase.
Close
();
118
finalKey.
Close
();
242
storeHandle.
Close
();
243
prev.
Close
();
247
current.
Close
();
Configuration\QfeChecker.cs (1)
77
regKey.
Close
();
Configuration\WsatServiceCertificate.cs (2)
91
sslConf.ParamDesc.pSslHash.
Close
();
148
sslConf.ParamDesc.pSslHash.
Close
();
MMCUI\WSATControl.cs (5)
331
certContext.
Close
();
332
storeHandle.
Close
();
377
storeHandle.
Close
();
378
prev.
Close
();
379
crt.
Close
();