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