CompareExchangeservicecontrolmanager

ServiceControlManager  时间:2021-04-10  阅读:()
AcronymsACLaccesscontrollistAPIApplicationProgrammingInterfaceASCIIAmericanStandardCodeforInformationInterchangeCAcertificateauthorityCAScodeaccesssecurityCCWCOMcallablewrapperCLRcommonlanguageruntimeCOMComponentObjectModelCPUcentralprocessingunitCSPcryptographicserviceproviderCSSCascadingStyleSheets521APPENDIXAPPENDIXACRONYMS522DBdatabaseDCOMDistributedComponentObjectModelDLLdynamiclinklibraryDNSDomainNameSystemDOMDocumentObjectModelDPAPIDataProtectionApplicationProgrammingInterfaceFTPFileTransferProtocolGACglobalassemblycacheGCgarbagecollectorGDIGraphicalDeviceInterfaceGUIgraphicaluserinterfaceHTMLHypertextMarkupLanguageHTTPHypertextTransferProtocolHTTPSHypertextTransferProtocoloverSecureSocketsLayer(HTTPoverSSL)I/Oinput/outputICMPInternetControlMessageProtocolIISInternetInformationServicesILintermediatelanguageIMAPInternetMessageAccessProtocolIPInternetProtocolJITjustintimeMAPIMessagingApplicationProgrammingInterfaceMBRmarshalbyreferenceMBVmarshalbyvalueMDIMultipleDocumentInterfaceMIMEMultipurposeInternetMailExtensionsMSDEMicrosoftSQLServerDesktopEngineMSDNMicrosoftDeveloperNetworkMSILMicrosoftIntermediateLanguageOSoperatingsystemAPPENDIXACRONYMS523PIAprimaryinteropassemblyPIDprocessidentifierPOP3PostOfficeProtocol3RBSrole-basedsecurityRCWruntimecallablewrapperRFCRequestForCommentRIDroleidentifierRPCremoteprocedurecallSCMServiceControlManagerSDKsoftwaredevelopmentkitSIDsecurityidentifierSMTPSimpleMailTransferProtocolSOAPSimpleObjectAccessProtocolSPCsoftwarepublishercertificateSQLStructuredQueryLanguageAPPENDIXACRONYMS524SSLSecureSocketsLayerTCPTransmissionControlProtocolUDPUserDatagramProtocolURIuniformresourceidentifierURLuniformresourcelocatorURNuniformresourcenameUTFUnicodeTransformationFormatW3CWorldWideWebConsortiumWMIWindowsManagementInstrumentationWSDLWebServiceDescriptionLanguageXMLExtensibleMarkupLanguageXSDXMLSchemaDefinitionXSLExtensibleStyleLanguageXSLTExtensibleStyleLanguageTransformationAPPENDIXACRONYMS525Symbols#definedirective,13#elifdirective,12#elsedirective,12#endifdirective,12logicaloperatorssupportedby,12#ifdirective,12logicaloperatorssupportedby,12#undefdirective,13&&logicalANDoperator,13||ORoperator,13(!
=)inequalityoperator,13supportedbyTimeSpanandDateTimestructures,49()greaterthanoperatorsupportedbyTimeSpanandDateTimestructures,50(>=)greaterthanorequaltooperatorsupportedbyTimeSpanandDateTimestructures,50()operator,13(+)additionoperatorsupportedbyTimeSpanandDateTimestructures,49(+)unaryplusoperatorsupportedbyTimeSpanandDateTimestructures,50(-)subtractionoperatorsupportedbyTimeSpanandDateTimestructures,49(-)unarynegationoperatorsupportedbyTimeSpanandDateTimestructures,50(=)assignmentoperatorsupportedbyTimeSpanandDateTimestructures,49(==)equalityoperatorsupportedbyTimeSpanandDateTimestructures,49*(asterisk)asplaceholderforelementnames,192-VrswitchStrongNametool,20-VuswitchStrongNametool,21.
NET.
SeeNET/addmodulecompilerswitch,7/definecompilerswitch,13/delaysignswitch,20/keycontainercompilerswitch,18/keyfilecompilerswitch,18/mainswitch,2/outswitch,2/referencecompilerswitch,10/targetexeswitch,2modulecompilerswitch,7==equalityoperator,13AAbortmethodHttpListenerContextclass,347Threadclass,83,132AcceptTcpClientmethodTcpListenerclass,360,363–364accesscontrollistsmanipulating,180–182accesstokens,418accessingADOobjectsusingCOMinterop,451command-linearguments,10–11elementswithsamenameaskeywords,15AccountOperatorvalueWindowsBuiltInRoleenumeration,413ActivatorclassCreateInstancemethod,90CreateInstanceFrommethod,90Systemnamespace,90ActiveMovieCOMcomponent,277,279ActiveXcontrolsusingin.
NETclients,454–455AddmethodControlCollectionclass,214CredentialCacheclass,376HttpListenerPrefixCollectioncollection,346Interlockedclass,129Parameterscollection,315–316,328AddClosedCurvemethodGraphicsPathclass,263AddEllipsemethodGraphicsPathclass,263addition(+)operatorsupportedbyTimeSpanandDateTimestructures,49AddPrinterConnectionmethodWin32_Printerclass,298Index527AddRectanglemethodGraphicsPathclass,263AddStringmethodGraphicsPathclass,263AddValuemethodSerializationInfoclass,459AddXXXXmethodsDateTimestructure,50AdministratorvalueWindowsBuiltInRoleenumeration,413ADO.
NETcommonlyusedaspects,300Advanced.
NETRemoting,2ndeditionRammer,IngoandSzpuszta,Mario,384AllvalueAttributeTargetsenumeration,91AllDirectoriesvalueSearchOptionenumeration,163AllowDroppropertyControlclass,251AllowMultiplepropertyAttributeUsageAttributeclass,92AllowNavigationpropertyWebBrowsercontrol,254AllowPartiallyTrustedCallersAttributeclass,396System.
Securitynamespace,395AltvalueConsoleModifiersenumeration,62AND(&)arithmeticoperator,147AND(&&)operator,13animatedsystemtrayicon,247–248animationusingDirectShow,279–282AppDomainclass,175–176CreateDomainmethod,66CreateInstancemethod,76–77CreateInstanceAndUnwrapmethod,77CreateInstanceFrommethod,76CreateInstanceFromAndUnwrapmethod,77ExecuteAssemblymethod,75–76ExecuteAssemlyByNamemethod,75GetDatamethod,80–81IsFinalizingForUnloadmethod,83SetDatamethod,80–81SetPrincipalPolicymethod,415SetThreadPrincipalmethod,415Systemnamespace,415Unloadmethod,83AppDomainSetupclassproperties,66values,81AppendCharmethodSecureStringclass,432AppendChildmethodXmlNodeclass,187ApplicationclassOpenFormsproperty,220Runmethod,4System.
Windows.
Formsnamespace,4applicationdevelopmentintroductionandtools,1applicationdomains,65avoidloadingunnecessaryassembliesinto,70–71creatingtypesthatcannotcrossappdomainboundaries,71–72creating,66–67creatingtypestobepassedacrossappdomainboundaries,67–70executingassemblyintodifferentassembly,74–76instantiatingtypeintodifferentassembly,76–80loadingassemblyinto,72–74passingdatabetween,80–82unloadingatruntime,82–83ApplicationSettingsVisualStudio,226–227ApplicationBasepropertyAppDomainSetupclass,66ApplicationDirectoryclassSystem.
Security.
Policynamespace,408ApplicationExceptionclass,487applicationsensuringonlyoneinstanceofcanexecuteconcurrently,140–141applytemplatescommand,210ArgumentExceptionclassSystemnamespace,52,307,346,467ArgumentNullExceptionclassSystemnamespace,88,487ArgumentOutOfRangeExceptionclassSystemnamespace,32,487ArrayclassSortmethod,51ArrayListclass,31Sortmethod,51,468System.
Collectionsnamespace,59,81,468ToArraymethod,52arrayscopyingacollectionto,52–54sorting,51–52ASCIIpropertyASCIIEncodingclass,34Encodingclass,353ASCIIEncodingclassASCIIproperty,34GetEncodingmethod,34assembliesallowingpartiallytrustedcodetousestrong-namedassemblies,394–396delaysigning,20–21ensuringruntimegrantsspecificpermissionsto,400–402inspectingevidence,409–411limitingpermissionsgrantedto,402–403signingwithAuthenticode,22–25strong-naming,17–19unloadingatruntime,82–83viewingpermissionsrequiredby,403–406INDEX528AssemblyclassEvidenceproperty,409Loadmethod,72–73,77LoadFrommethod,72–73LoadWithPartialNamemethod,72System.
Reflectionnamespace,72,409assemblyevidenceEvidenceclass,410AssemblyCultureAttributeclassSystem.
Reflectionnamespace,18AssemblyDelaySignAttributeclassSystem.
Reflectionnamespace,21AssemblyKeyFileAttributeclass,18AssemblyKeyNameAttributeclass,18AssemblyNameclass,46managementofobjects,54System.
Reflectionnamespace,46,72AssemblyVersionAttributeclassSystem.
Reflectionnamespace,18assignment(=)operatorsupportedbyTimeSpanandDateTimestructures,49asterisk(*)asplaceholderforelementname,192AsteriskpropertySystemSoundsclass,275AsyncCallbackdelegateSystemnamespace,325AsyncCompletedEventHandlerdelegateSystem.
ComponentModelnamespace,341AsynchCallbackdelegateSystemnamespace,346asynchronousdatabaseoperationsperformingagainstSQLServer,324–327asynchronousmethods,determiningiffinished,325AttachmentclassSystem.
Net.
Mailnamespace,353AttachmentCollectionclassSystem.
Net.
Mailnamespace,353AttachmentspropertyMailMessageclass,353AttributeclassSystemnamespace,91attributessettingforfilesanddirectories,147–149AttributespropertyDirectoryInfoclass,144,148FileInfoclass,144,148XmlNodeclass,184AttributesvalueNotifyFiltersenumeration,177AttributeTargetsenumerationAllvalue,91Systemnamespace,91AttributeUsageAttributeclassAllowMultipleproperty,92Inheritedproperty,92members,91Systemnamespace,91ValidOnproperty,91authenticationgettingHTMLpagesfromsitethatrequiresauthentication,349–351Authenticodesigningassembly,22–25AutoCompleteModepropertyComboBoxcontrol,232AutoLogpropertyServiceBaseclass,513AutoResetEventclass,112Setmethod,121System.
Threadingnamespace,120usedasatrigger,111AutoScrollpropertyPanelcontrol,215,268AvailableFreeSpacepropertyDriveInfoclass,145,170–171AxHostcontrolcreatingRCWforActiveXcontrols,454members,454BBackgroundColorpropertyConsoleclass,29BackgroundImagepropertyFormclass,264BackupOperatorvalueWindowsBuiltInRoleenumeration,413Base64encodingMIMEstandards,41Base64-encodingbinarydata,38–41BccpropertyMailMessageclass,353BeepmethodConsoleclass,275BeepOnErrorpropertyMaskedTextBoxcontrol,230BeforeExpandeventTreeViewcontrol,154BeginAcceptTcpClientmethodTcpListenerclass,363–364BeginExecuteNonQuerymethodSqlCommandclass,324–325BeginExecuteReadermethodSqlCommandclass,324–325BeginExecuteXmlReadermethodSqlCommandclass,324–325BeginGetContextmethodHttpListenerclass,346–347BeginGetHostEntrymethodDnsclass,355BeginPrinteventPrintDocumentclass,284BeginReadmethodNetworkStreamclass,364BeginWritemethodNetworkStreamclass,364BigEndianUnicodepropertyUnicodeEncodingclass,34INDEX529binarydataBase64-encoding,38–41binaryfilesreadingandwriting,158–160BinaryFormatterclass,60Deserializemethod,58Serializemethod,58System.
Runtime.
Serialization.
Formatters.
Binarynamespace,58,464BinaryReaderclassReadmethod,158ReadDecimalmethod,158readingfromMemoryStream,36ReadStringmethod,158System.
IOnamespace,36,158,344BinaryWriterclassconvertingdecimaltypetobytearray,36System.
IOnamespace,36,158Writemethod,158BitConverterclassconvertingbooltypetoandfrombytearray,36–38convertinginttypetoandfrombytearray,36–38GetBytesmethod,36Systemnamespace,427ToBooleanmethod,36ToInt32method,36ToStringmethod,38,427–428Bitmapclasscreatingobject,270BitVector32classdoesnotimplementICollectioninterface,134blockingdeterminingifasynchronousmethodsarefinished,325BodypropertyMailMessageclass,353BodyEncodingpropertyMailMessageclass,353booltypeconvertingtoandfrombytearrayusingBitConverterclass,36–38BufferHeightpropertyConsoleclass,29BufferWidthpropertyConsoleclass,29bytearraysBase64encodinganddecodingusingConvertclass,38convertingtostandardvaluetypes,36Ccallbackdeterminingifasynchronousmethodsarefinished,326CancelAllJobsmethodWin32_Printerclass,298CancelAsyncmethodWebClientclass,342CanGoBackpropertyWebBrowsercontrol,254CanGoForwardpropertyWebBrowsercontrol,254CanHandlePowerEventpropertyServiceBaseclass,512CanHandleSessionChangeEventpropertyServiceBaseclass,513CannotUnloadAppDomainExceptionclassSystemnamespace,83CanPauseAndContinuepropertyServiceBaseclass,512CanShutdownpropertyServiceBaseclass,512CanStoppropertyServiceBaseclass,512CapacitypropertyStringBuilderclass,32Caspol.
exe,397caspol-eoff,398,400caspol-eoffcommand,398,400CodeAccessSecurityPolicytool,396castingspecializedcollectionclasses,135CCpropertyMailMessageclass,353CCW(COMcallablewrapper)defined,455cert2spc.
exe,25CertificateCreationtoolargumentssupported,26creatingtestX.
509certificate,25CertificatesclassFindmethod,350,376Selectmethod,376CertificatespropertyWebClientclass,350WebRequestclass,349ChangemethodTimerclass,108ChangedeventFileSystemWatcherclass,176–177ChangeExtensionmethodPathclass,165–166chararrayconvertingbinarydatatoandfrom,38character-encodingclasses,34CheckExecutionRightspropertySecurityManagerclass,398–400CheckFileExistspropertyOpenFileDialogclass,172ChildNodespropertyXmlDocumentclass,184XmlNodeclass,184classesrestrictingwhocanextendandoverridemembers,407–409ClassesRootfieldRegistryKeyclass,509INDEX530ClearmethodConsoleclass,29SecureStringclass,433ClientCertificatescollectionHttpWebRequestclass,350System.
Security.
Cryptography.
X509Certificatesnamespace,376ClientCertificatespropertySmtpClientclass,352WebRequestclass,376ClientHandlerclass,364ClientRectanglepropertyControlclass,265ClonemethodICloneableinterface,463–464cloneabletypesimplementing,463–467CloneMenumethodMenuItemclass,239CloneNodemethodXmlDocumentclass,189XmlNodeclass,191Closemethodconnectionobjects,302datareaderclasses,320HttpListenerContextclass,347CloseAllFiguresmethodGraphicsPathclass,263CloseMainWindowmethodProcessclass,138–139codeSeealsounmanagedcodepreventingdecompilation,27–28selectivelyincludingatbuildtimewithcommandline,12–15codeaccesspermissions,402codeaccesssecurity,393disabling,396–398CodeAccessSecurityPolicytool.
SeeCaspol.
execodegroups,393codelibrarycreateandusefromcommandline,9–10codemodulecreateandusewithcommandline,7–9collectionscopyingtoarrays,52–54ColumnCountpropertyTableLayoutPanelcontainer,238COMexposing.
NETcomponents,455–456COMcallablewrapper.
SeeCCW(COMcallablewrapper)COMclientsrecommendations,456typerequirements,455COMcomponentsreleasingquickly,452–453usingin.
NETclients,450–452COMInteropaccessingADOobjects,451allcodefulltrust,395COMport,accessing,179–180ComboBoxclasscreatingautocompleteversion,232–234ComboBoxcontrolAutoCompleteModeproperty,232KeyPressevent,232OnKeyPressmethod,232OnTextChangedmethod,232TextChangedevent,232commandlineaccessingcommand-linearguments,10–11creatingandusingacodelibrary,9–10creatingandusingacodemodule,7–9creatingaconsoleapplication,2–4creatingaWindows-basedapplication,4–7includingcodeselectivelyatbuildtime,12–15command-lineutilitiesTlbexp.
exe,455Tlbimp.
exe,451xsd.
exe(XMLSchemaDefinitionTool),207commandobjectscommonproperties,312creating,312CommandLinepropertyEnvironmentclass,10,500CommandTextpropertycommandobjects,312IDbCommandinterface,311CommandTimeoutpropertycommandobjects,312CommandTypeenumerationSystem.
Datanamespace,312values,312CommandTypepropertycommandobjects,312IDbCommandinterface,311CommonDialogclassSystem.
Windows.
Formsnamespace,172comparabletypesimplementing,467–471ComparemethodIComparerinterface,235,468CompareExchangemethodInterlockedclass,129CompareTomethodIComparableinterface,467CompiledoptionRegexOptionsenumeration,45CompileToAssemblymethodRegexclass,45–46complextypesXMLschemas,200ComponentclassSystem.
ComponentModelnamespace,72,342,358WebClientclassderivesfrom,342INDEX531ComputeHashmethodHashAlgorithmclass,164,424–425,430ConditionalAttributeclass,13applyingtoamethod,13System.
Diagnosticsnamespace,12usedbyTraceandDebugclasses,15ConfigurationclassSystem.
Configurationnamespace,309ConfigurationFilepropertyAppDomainSetupclass,66ConfigurationManagerclassConnectionStringsproperty,309OpenExeConfigurationmethod,309System.
Configurationnamespace,309ConfiguremethodRemotingConfigurationclass,381connectionpooling,304example,305–306settings,304–305Connectionpropertycommandobjects,312ConnectionStringpropertyConnectionStringSettingsclass,309IDbConnectioninterface,301,307ConnectionStringspropertyConfigurationManagerclass,309ConnectionStringSettingsclassConnectionStringproperty,309creatingandconfiguring,309ProviderNameproperty,309System.
Configurationnamespace,309ConnectionStringsSectioncollectionaddingConnectionStringSettingsobjectto,309SectionInformationclass,309consolemanipulatingappearance,28–30readinguserinput,61–64consoleapplicationcreatingfromcommandline,2–4ConsoleclassBeepmethod,275example,275–276KeyAvailablemethod,62propertiesandmethods,29Readmethod,61ReadKeymethod,61ReadLinemethod,61Systemnamespace,28,61,483ConsoleColorenumerationSystemnamespace,29ConsoleKeyInfoclassproperties,62Systemnamespace,62ConsoleModifiersenumerationvalues,62ConstructorInfoclassInvokemethod,87–88System.
Reflectionnamespace,87ContainerclassControlsproperty,214ContainsmethodRectanglestruct,259–260context-sensitivehelp,252–253ContextMenupropertyNotifyIconcontrol,247ControlclassAllowDropproperty,251ClientRectangleproperty,265derivingclassfrom,265DoDragDropmethod,251DragDropevent,251DragEnterevent,251Handleproperty,279,442MouseDownevent,244,251MouseMoveevent,244MouseUpevent,244Regionproperty,263,265System.
Windows.
Formsnamespace,265Tagproperty,217ControlvalueConsoleModifiersenumeration,62ControlBoxpropertyFormclass,244ControlCollectionclassAddmethod,214obtaining,214,219ControlPolicyelementSecurityPermissionclass,397,399ControlPrincipalelementSecurityPermissionclass,415,418controls,creatingirregularlyshapedcontrol,263–265ControlspropertyContainerclass,214Formclass,219ConvertclassBase64encodinganddecoding,38FromBase64CharArraymethod,38FromBase64Stringmethod,38Systemnamespace,38ToBase64CharArraymethod,38ToBase64Stringmethod,38ConvertmethodEncodingclass,35CopyFromScreenmethodGraphicsclass,270CopyTomethodFileInfoclass,149ICollectioninterface,52countfunction,196Covington,MichaelASystem.
GC.
KeepAlive(mutex)statement,141CreatemethodDirectoryInfoclass,150FileInfoclass,149HashAlgorithmclass,164,424,426KeyedHashAlgorithmclass,430RandomNumberGeneratorclass,421WebRequestclass,344INDEX532XmlReaderclass,197,200–201XmlWriterclass,197CreateAdapterfactorymethodDbProviderFactoryclass,328CreateAttributemethodXmlDocumentclass,187CreateCommandfactorymethodconnectionobjects,312DbProviderFactoryclass,328CreateCommandmethodIDbConnectioninterface,312,328CreateConnectionfactorymethodDbProviderFactoryclass,328CreatedeventFileSystemWatcherclass,176–177CreateDomainmethodAppDomainclass,66CreateElementmethodXmlDocumentclass,187CreateInstancemethodActivatorclass,90AppDomainclass,76–77CreateInstanceAndUnwrapmethodAppDomainclass,77CreateInstanceFrommethodActivatorclass,90AppDomainclass,76CreateInstanceFromAndUnwrapmethodAppDomainclass,77CreateNodemethodXmlDocumentclass,187CreateParameterfactorymethodDbProviderFactoryclass,328CreateParametermethodIDbCommandinterface,316,328CreatePromptpropertySaveFileDialogclass,173CreateShortcutmethodWshShellclass,518CreateSubdirectorymethodDirectoryInfoclass,150CreateSubdirectorypropertyDirectoryInfoclass,144CreateSubKeymethodRegistryKeyclass,509CreateTextmethodFileInfoclass,149CreationTimepropertyDirectoryInfoclass,144FileInfoclass,144CreationTimevalueNotifyFiltersenumeration,177CredentialCacheclassAddmethod,376DefaultCredentialsproperty,350,352implementsICredentialsByHostinterface,352System.
Netnamespace,350CredentialspropertySmtpClientclass,352WebClientclass,350WebRequestclass,349–350,376criticalsections,116CrossProcessvalueMemoryProtectionScopeenumeration,436CryptGenRandomfunction,421cryptography,393–394calculatingthehashcodeofafile,425–427calculatingthehashcodeofapassword,422–425creatingacryptographicallyrandomnumber,421–422encryptinganddecryptingdatausingdataprotectionAPI,435–437ensuringdataintegrityusingkeyedhashcode,429–431verifyingahashcode,427–429workingwithsecurity-sensitivestringsinmemory,432–435CS1555compilationerror,2CultureInfoclass,484CurrentCulturemethod,484System.
Globalizationnamespace,484CurrencyvalueDbTypeenumeration,316CurrentpropertyIEnumeratorinterface,475CurrentConfigfieldRegistryKeyclass,509CurrentCulturemethodCultureInfoclass,484CurrentDirectorypropertyEnvironmentclass,500CurrentPrincipalpropertyThreadclass,415,418CurrentUICulturepropertyThreadclass,243CurrentUserfieldRegistryKeyclass,509CurrentUservalueDataProtectionScopeenumeration,436CursorLeftpropertyConsoleclass,29CursorSizepropertyConsoleclass,29CursorToppropertyConsoleclass,29CursorVisiblepropertyConsoleclass,29customattributecreating,91–93customeventargumentimplementing,490–492customexceptionclassimplementing,486–490INDEX533Ddatamanipulation,31dataprotectionAPIencryptinganddecryptingdata,435–437dataproviders,299interfaces,328datareaderclassescommonlyusedmembers,319methods,319databaseaccess,299–300connectingtoadatabase,301–304connectionpooling,304–306creatingaconnectionstringprogrammatically,306–308dataproviders,299discoverallinstancesofSQLServeronnetwork,331–333executingaSQLcommandorstoredprocedure,311–315obtainingXMLdocumentfromSQLServerquery,321–324performingasynchronousoperationsagainstSQLServer,324–327processingresultsofSQLqueryusingdatareader,318–321storingaconnectionstringsecurely,308–311usingparametersinSQLcommandorstoredprocedure,315–318writingdatabase-independentcode,328–331DataProtectionScopeenumerationSystem.
Security.
Cryptographynamespace,436values,436DataRowclassSystem.
Datanamespace,332DataSetclassSystem.
Datanamespace,71,328DataTableclassSystem.
Datanamespace,319,329,332,382datesandtimesadd,subtractandcompare,49–51creatingfromstrings,47–49DateTimeclassParsemethod,47ParseExactmethod,47Systemnamespace,31,47DateTimestructureadd,subtract,andcomparedatesandtimes,49–51Addmethods,50operatorssupportedby,49Systemnamespace,109,144,468DateTimevalueDbTypeenumeration,316DateTimeFormatInfoclass,484System.
Globalizationnamespace,48DbConnectionStringBuilderclassimplementationsforstandarddataproviders,307System.
Data.
Commonnamespace,306DbProviderFactoriesclass,329DbProviderFactoryobjectinstantiating,330GetFactorymethod,329GetFactoryClassesmethod,329DbProviderFactoryclassCreateAdapterfactorymethod,328CreateCommandfactorymethod,328CreateConnectionfactorymethod,328CreateParameterfactorymethod,328instantiating,330subclasses,329System.
Data.
Commonnamespace,316,329DbTypeenumerationSystem.
Datanamespace,316values,316DbTypepropertyparameterobjects,316DbTypevalueDbTypeenumeration,316DCOM(DistributedComponentObjectModel)remotingassuccessorto,335DebugclassSystem.
Diagnosticsnamespace,15decimaltypeBase64encodinganddecodingusingConvertclass,38convertingtobytearray,36readingusingBinaryReaderinstance,36decompilingcode,preventing,27–28DecrementmethodInterlockedclass,129DecryptmethodFileInfoclass,149deepcopying,463reasonswhytypesdonotimplement,464DefaultpropertyEncodingclass,34DefaultCredentialspropertyCredentialCacheclass,350,352DefaultPageSettingspropertyPrintDocumentclass,285delaysigningassemblies,20–21DeletemethodDirectoryInfoclass,150FileInfoclass,149DeletedeventFileSystemWatcherclass,176–177DeleteSubKeymethodRegistryKeyclass,509DeleteSubKeyTreemethodRegistryKeyclass,509DeleteValuemethodRegistryKeyclass,509demands,393DescriptionpropertyNetworkInterfaceClass,337deserializationattributes,459INDEX534DeserializemethodBinaryFormatterclass,58IFormatterinterface,58SoapFormatterclass,58destructor,480dialogboxes,showing,172–174DictionaryclassSystem.
Collections.
Genericnamespace,54,223Directionpropertyparameterobjects,316DirectionvalueParameterDirectionenumeration,316DirectoryclassExistsmethod,167GetCurrentDirectorymethod,168GetLogicalDrivesmethod,170SetCurrentDirectorymethod,168System.
IOnamespace,167–168usinginsteadofDirectoryInfo,147DirectorypropertyFileInfoclass,144DirectoryInfoclass,143Attributesproperty,148copymethodismissingfromclass,150derivesfromFileSystemInfoclass,145GetDirectoriesmethod,163GetFilesmethod,163members,144methods,150Refreshmethod,145System.
IOnamespace,144,147,149,163usingDirectoryclassinstead,147DirectoryNamepropertyFileInfoclass,144DirectoryNamevalueNotifyFiltersenumeration,177DirectoryNotFoundExceptionclass,145DirectorySecurityclassretrieving,180DirectShowshowinganimation,279–282DisallowPublisherPolicypropertyAppDomainSetupclass,66DisplayNamepropertyServiceInstallerclass,516disposableclassimplementing,480–483DisposemethodIDisposableinterface,480,510SecureStringclass,433Timerclass,108Disposepatternexample,481–483implementing,480usingstatement,480DistributedComponentObjectModel.
SeeDCOMDllImportAttributeclassEntryPointportion,440SetLastErrorfield,448System.
Runtime.
InteropServicesnamespace,439DnsclassBeginGetHostEntrymethod,355EndGetHostEntrymethod,355GetHostByNamemethod,355GetHostEntrymethod,355GetHostNamemethod,355System.
NETnamespace,355DocumentpropertyPrintDialogclass,285PrintPreviewControlclass,293PrintPreviewDialogclass,292WebBrowsercontrol,255DocumentCompletedeventWebBrowsercontrol,254DocumentElementclasscontainingnestedXMLNodeobjects,184DocumentElementpropertyXmlDocumentclass,184documentsvalidatingagainstaschema,199–204DocumentTextpropertyWebBrowserclass,211WebBrowsercontrol,255DoDragDropmethodControlclass,251DOM(W3CDocumentObjectModel),184DomainpropertyProcessStartInfoclass,136doublebufferingusingtoincreaseredrawspeed,271–273DoubleBufferedpropertyFormclass,271DownvalueOperationalStatusenumeration,337DownloadDatamethodWebClientclass,341DownloadDataAsyncmethodWebClientclass,341DownloadDataCompletedeventWebClientclass,341DownloadFilemethodWebClientclass,341DownloadFileAsyncmethodWebClientclass,341DownloadStringmethodWebClientclass,341DownloadStringAsyncmethodWebClientclass,341DownloadStringCompletedeventWebClientclass,341DPAPIProtectedConfigurationProviderclass,309drag-and-dropoperations,251–252DragDropeventControlclass,251INDEX535DragEntereventControlclass,251DragEventArgsclassEffectproperty,251DrawImagemethodGraphicsclass,284DrawStringmethodGraphicsclass,268,284,290DriveInfoclassAvailableFreeSpaceproperty,170–171example,171GetDrivesmethod,170IsReadyproperty,145members,144System.
IOnamespace,144TotalFreeSpaceproperty,171DriveTypeenumeration,145DriveTypepropertyDriveInfoclass,145DynDatafieldRegistryKeyclass,509EEchoCompletedEventArgsclass,379EchoCompletedEventHandlerdelegate,379EffectpropertyDragEventArgsclass,251elementsfindingbyname,191–192findingwithXpathsearch,194–197ELEMENTSkeyword,322EllipseShapecontrolcreating,265–267email,sendingusingSMTP,351–355EmptyTypesfieldTypeclass,88EnableRaisingEventspropertyFileSystemWatcherclass,177EnableSslpropertySmtpClientclass,352EncodingclassASCIIproperty,353Convertmethod,35Defaultproperty,34GetBytesmethod,34GetEncodingmethod,34GetStringmethod,34System.
Textnamespace,33,158,353,424EncryptmethodFileInfoclass,149EndAcceptTcpClientmethodTcpListenerclass,364EndExecuteNonQuerymethodSqlCommandclass,324–325EndExecuteReadermethodSqlCommandclass,324–325EndExecuteXmlReadermethodSqlCommandclass,324–325EndGetContextmethodHttpListenerclass,346EndGetHostEntrymethodDnsclass,355EndPrinteventPrintDocumentclass,284EntermethodMonitorclass,115–116EntryPointportionDllImportAttributeclass,440EnumclassGetUnderlyingTypemethod,87Systemnamespace,87enumerablecollectionimplementing,471–475enumerabletypeimplementingusingcustomiterator,475–480EnumWindowsfunction,447displayingnamesofopenwindows,447–448EnvironmentclassCommandLineproperty,10example,501,503–504ExpandEnvironmentVariablesmethod,503GetCommandLineArgsmethod,10GetEnvironmentVariablemethod,503GetEnvironmentVariablesmethod,503members,499Systemnamespace,10,499environmentvariableretrievingvariable,503–504Environment.
SpecialFolderenumeration,501EnvironmentVariableTargetenumerationSystemnamespace,503equality,testingtwofilesfor,164–165equality(==)operator,13supportedbyTimeSpanandDateTimestructures,49ErrorvalueEventLogEntryTypeenumeration,504ErrorDialogpropertyProcessStartInfoclass,136ErrorProvidercomponent,248providinginputerrorforTextBoxcontrol,250errors,retrievingunmanagederrorinformation,448–450EthernetvalueNetworkInterfaceTypeenumeration,337eventargument,customimplementing,490–492Eventpattern,494EventArgclassSystemnamespace,490EventArgsclassSystemnamespace,494EventLogclassexample,505System.
Diagnosticsnamespace,504WriteEntrymethod,504EventLogpropertyServiceBaseclass,513INDEX536EventLogEntryTypeenumerationSystem.
Diagnosticsnamespace,504values,504EventResetModeenumerationSystem.
Threadingnamespace,121EventWaitHandleclassOpenExistingmethod,121System.
Threadingnamespace,120usinginmanualmode,121evidence,393Evidenceclasscollections,410methods,409System.
Security.
Policynamespace,66,409EvidencepropertyAssemblyclass,409ExceptionclassimplementsISerializableinterface,488Systemnamespace,487exceptionclass,customimplementing,486–490ExceptionStatepropertyThreadAbortExceptionclass,132ExchangemethodInterlockedclass,129ExecuteAssemblymethodAppDomainclass,75–76ExecuteAssemlyByNamemethodAppDomainclass,75ExecuteNonQuerymethodIDbCommandinterface,311–312SqlCommandclass,325ExecuteReadermethodIDbCommandinterface,311–312,318,328SqlCommandclass,325ExecuteScalarmethodIDbCommandinterface,311–312ExecuteXmlReadermethodSqlCommandclass,321–322,325ExecutionelementSecurityPermissionclass,399ExistsmethodDirectoryclass,167Fileclass,167ExistspropertyDirectoryInfoclass,144FileInfoclass,144ExitmethodMonitorclass,115–116ExpandEnvironmentVariablesmethodEnvironmentclass,500,503ExplicitpropertyLayoutKindclass,445expressionsyntaxtableXPath,195ExtensionpropertyDirectoryInfoclass,144FileInfoclass,144FFailureAuditvalueEventLogEntryTypeenumeration,504FamiliespropertyFontCollectionclass,258FastEthernetTvalueNetworkInterfaceTypeenumeration,337FieldCountpropertydatareaderclasses,319FieldOffsetAttributeclass,445FileclassExistsmethod,167GetAccessControlmethod,180SetAccessControlmethod,180System.
IOnamespace,167usinginsteadofFileInfo,147FileSigningtoolsupersededbySignTool,22FileAttributesenumerationSystem.
IOnamespace,144FileInfoclass,143,163Attributesproperty,148derivesfromFileSystemInfoclass,145Lengthproperty,151members,144methods,149Refreshmethod,145System.
IOnamespace,144,147,149,217usingFileclassinstead,147FileIOPermissionclass,174–175FileLoadExceptionclassSystem.
IOnamespace,19,400FileNamepropertyProcessStartInfoclass,136SaveFileDialogclass,173FileNamevalueNotifyFiltersenumeration,177FileNamescollection,172FileNotFoundExceptionclass,145System.
IOnamespace,9,73files,directories,andIO,143accessingaCOMport,179–180calculatingsizeofdirectory,151–152creatingatemporaryfile,169–170determiningifpathisdirectoryorfile,167–168findingfilesmatchingwildcardexpressions,163–164gettingarandomfilename,180gettingtotalfreespaceondrive,170–172manipulatingstringsrepresentingfilenames,165–167manipulatingaccesscontrollistsoffileordirectory,180–182monitoringfilesystemforchanges,176–179moving,copying,ordeletingafileanddirectory,149–151readingafileasynchronously,160–163readingandwritingabinaryfile,158–160INDEX537readingandwritingatextfile,156–158retrievinginformationaboutfiles,directories,ordrives,143–147retrievingversioninformationforafile,152–154settingfileanddirectoryattributes,147–149showingcommonfiledialogboxes,172–174showingJITdirectorytreeintheTreeViewcontrol,154–156testingtwofilesforequality,164–165usinganisolatedstore,174–176workingwithrelativepaths,168–169FileSecurityclassretrieving,180FileStreamclassHandleproperty,442System.
IOnamespace,58,156,158FileSystemEventArgsclass,177FileSystemWatcherclassCreatedevent,177Deletedevent,177EnableRaisingEventsproperty,177events,176NotifyFilterproperty,177properties,177System.
IOnamespace,176FileVersionInfoclassGetVersionInfomethod,152FileWebRequestclasscreatinginstance,344FilgraphManagerclass,279FillmethodTreeViewcontrol,154FilterpropertyFileSystemWatcherclass,177OpenFileDialogclass,172finalizer,480finallyblock,116FinalReleaseComObjectmethodMarshalclass,452FindmethodCertificatesclass,350,376FlowDirectionpropertyFlowLayoutPanelcontainer,238FlowLayoutPanelcontainerFlowDirectionproperty,238WrapContentsproperty,238FolderBrowserDialogclassSelectedPathproperty,173System.
Windows.
Formsnamespace,172FontCollectionclassFamiliesproperty,258FontFamilyclassrepresentingallinstalledfonts,258fonts,finding,257–259FORXMLAUTOclause,321FORXMLclause,321–322FORXMLEXPLICITsyntax,322ForegroundColorpropertyConsoleclass,29FormclassBackgroundImageproperty,264ControlBoxproperty,244Controlsproperty,219DoubleBufferedproperty,271extending,4FormBorderStyleproperty,244Handleproperty,443Languageproperty,242Loadevent,154Localizableproperty,241MaximizeBoxproperty,244MdiChildrenproperty,223MdiParentproperty,223MinimizeBoxproperty,244MouseMoveevent,260OnClosedmethod,223OnClosingmethod,223OnLoadmethod,223Painteventhandler,260,272Regionproperty,263SetStylemethod,271System.
Windows.
Formsnamespace,4,387Textproperty,244TopMostproperty,442TransparentKeyproperty,264FormatmethodStringclass,484FormatExceptionclassSystemnamespace,47,487FormatMessagefunction,448Kernel32.
dllfile,449formatProviderargument,484formattabletype,implementing,483–486FormBorderStylepropertyFormclass,244FormCollectionclassaccessingformobjects,220example,220obtaining,220freespaceondrive,calculating,170–172Freeman,AdamandJones,AllenProgramming.
NETSecurity,394FrompropertyMailMessageclass,353FromBase64CharArraymethodConvertclass,38FromBase64StringmethodConvertclass,38FromDayspropertyTimeSpanstructure,109FromFilemethodImageclass,273FTP,downloadingdataover,341–343FtpWebRequestclasscreatinginstance,344FullNamepropertyDirectoryInfoclass,144FileInfoclass,144INDEX538FullTrustpermission,397,408LinkDemand,395functionscallinginunmanagedDLLs,439–442GGAC(GlobalAssemblyCache)managing,27strong-namedassemblies,395GCclassSuppressFinalizemethod,481Systemnamespace,480GDI32.
dll,440generictypescreating,55–56GetAccessControlmethodFileclass,180GetAddressBytesmethodPhysicalAddressclass,337GetAllNetworkInterfacesmethodNetworkInterfaceclass,336,339GetAssemblyEnumeratormethodEvidenceclass,409GetAttributemethodXmlReaderclass,198GetAvailableThreadsmethodThreadPoolclass,99GetBoundsmethodImageclass,260GetBytesmethodBitConverterclass,36Encodingclass,34RandomNumberGeneratorclass,421GetCommandLineArgsmethodEnvironmentclass,10,500GetConstructormethodcomparedtoActivatorclass,90Typeclass,87–88GetContextmethodHttpListenerclass,346GetCurrentmethodWindowsIdentityclass,411–412GetCurrentDirectorymethodDirectoryclass,168GetCurrentProcessmethodProcessclass,138GetCustomAttributesmethodICustomAttributeProviderinterface,93returnsarraycontainingcustomattributes,93GetDatamethodAppDomainclass,80–81GetDataSourcesmethodSqlDataSourceEnumeratorclass,331GetDataTypeNamemethoddatareaderclasses,319GetDirectoriesmethodDirectoryInfoclass,163GetDirectoriespropertyDirectoryInfoclass,144GetDirectoryNamemethodPathclass,166GetDrivesmethodDriveInfoclass,170GetDrivespropertyDriveInfoclass,145GetElementsByTagNamemethodXmlDocumentclass,191XmlElementclass,192GetEncodingmethodASCIIEncodingclass,34Encodingclass,34UnicodeEncodingclass,34UTF7Encodingclass,34UTF8Encodingclass,34GetEnumeratormethodEvidenceclass,409IEnumerableinterface,471,472,475,476GetEnvironmentVariablemethodEnvironmentclass,500,503GetEnvironmentVariablesmethodEnvironmentclass,500,503GetFactorymethodDbProviderFactoriesclass,329GetFactoryClassesmethodDbProviderFactoriesclass,329GetFieldTypemethoddatareaderclasses,319GetFileNamemethodPathclass,165GetFileNameWithoutExtensionmethodPathclass,166GetFilesmethodDirectoryInfoclass,163GetFilespropertyDirectoryInfoclass,144GetFolderPathmethodEnvironmentclass,501GetForegroundWindowfunction,442GetFullPathmethodPathclass,166GetHostByNamemethodDnsclass,355GetHostEntrymethodDnsclass,355GetHostEnumeratormethodEvidenceclass,409GetHostNamemethodDnsclass,355GetIISUser,377GetInvalidPathCharsmethodPathclass,166GetIPPropertiesmethodNetworkInterfaceclass,337GetIPv4StatisticsmethodNetworkInterfaceclass,337GetIsNetworkAvailablemethodNetworkInterfaceclass,337GetLastWin32ErrormethodMarshalclass,448–449INDEX539GetLifetimeServicemethodMarshalByRefObjectclass,389GetLogicalDrivesmethodDirectoryclass,170Environmentclass,501GetNamemethoddatareaderclasses,319GetNonZeroBytesmethodRandomNumberGeneratorclass,421GetObjectDatamethodISerializableinterface,459,488GetOracleLobmethodOracleDataReaderclass,320GetOracleMonthSpanmethodOracleDataReaderclass,320GetOracleNumbermethodOracleDataReaderclass,320GetOrdinalmethoddatareaderclasses,319GetPhysicalAddressmethodNetworkInterfaceclass,337GetPrivateProfileStringfunction,440GetProcessByIdmethodProcessclass,138GetProcessesmethodProcessclass,138GetProcessesByNamemethodProcessclass,138GetRandomFileNamemethodPathclass,180GetResponsemethodWebRequestclass,344GetResponseStreammethodWebResponseclass,344GetSchemaTablemethoddatareaderclasses,319GetSqlBytemethodSqlDataReaderclass,320GetSqlDecimalmethodSqlDataReaderclass,320GetSqlMoneymethodSqlDataReaderclass,320GetStringmethodEncodingclass,34GetSubKeyNamesmethodRegistryKeyclass,509GetTempFileNamemethodPathclass,169,180GetThumbnailImagemethodImageclass,273GetTypemethodObjectclass,85GetUnderlyingTypemethodEnumclass,87GetValuemethodRegistryclass,506RegistryKeyclass,509GetValueKindmethodRegistryKeyclass,509GetValueNamesmethodRegistryKeyclass,510GetVersionExfunctiondeclaringandusing,445Kernel32.
dllfile,444GetVersionInfomethodFileVersionInfoclass,152GetWindowTextfunction,442GetXXXmethodsdatareaderclasses,319SerializationInfoclass,460GlobalAssemblyCache.
SeeGACGoBackmethodWebBrowsercontrol,254GoForwardmethodWebBrowsercontrol,254GoHomemethodWebBrowsercontrol,254grantset,393graphics,introduction,257GraphicsclassCopyFromScreenmethod,270DrawImagemethod,284DrawStringmethod,268,284,290System.
Drawingnamespace,284GraphicsPathclassaddingshapesto,263CloseAllFiguresmethod,263IsVisiblemethod,259–260System.
Drawing.
Drawing2Dnamespace,259–260,263GrowStylepropertyTableLayoutPanelcontainer,238GuestvalueWindowsBuiltInRoleenumeration,413GuidAttributeclassSystem.
Runtime.
InteropServicesnamespace,456HHandlepropertyclassesthatusethisproperty,442Controlclass,279,442FileStreamclass,442PictureBoxcontrol,279Processclass,442HandledpropertyKeyPressEventArgsclass,231handles,retrievingforcontrols,windows,orfiles,442–444HasAttributespropertyXmlReaderclass,198HasExitedpropertyProcessclass,139HasExtensionmethodPathclass,166HashclassSystem.
Security.
Policynamespace,408INDEX540hashcodecalculatingthehashcodeoffile,425–427calculatingthehashcodeofpassword,422–425ensuringdataintegrityusingkeyedhashcode,429–431verifyinghashcode,427–429HashAlgorithmclass,426ComputeHashmethod,164,424,425,430Createmethod,164,424,426System.
Security.
Cryptographynamespace,164,422,425,430Hashtableclasscreatingthread-safeinstance,135HasMorePagespropertyPrintPageEventArgsclass,287–288HasShutdownStartedpropertyEnvironmentclass,500HelpKeywordpropertyHelpProvidercomponent,253HelpNamespacepropertyHelpProvidercomponent,253HelpNavigatorpropertyHelpProvidercomponent,253HelpProvidercomponentHelpKeywordproperty,253HelpNamespaceproperty,253HelpNavigatorproperty,253System.
Windows.
Formsnamespace,252HiddenvalueProcessWindowStyleenumeration,136hittesting,performingwithshapes,259–263HMACMD5classSystem.
Security.
Cryptographynamespace,430HMACRIPEMD160classSystem.
Security.
Cryptographynamespace,430HMACSHA1classSystem.
Security.
Cryptographynamespace,430HMACSHA256classSystem.
Security.
Cryptographynamespace,430HMACSHA384classSystem.
Security.
Cryptographynamespace,430HMACSHA512classSystem.
Security.
Cryptographynamespace,430hostevidenceEvidenceclass,410hostnameresolvingtoanIPaddress,355–357Howard,MichaelandLeBlanc,DavidWritingSecureCode,2ndedition,394HTMLpagesgettingfromsitethatrequiresauthentication,349–351HtmlDocumentclassobtaining,255HTTPdownloadingdataover,341–343respondingtorequestsfromyourapplication,346–349HttpListenerclassBeginGetContextmethod,346–347EndGetContextmethod,346GetContextmethod,346IsSupportedproperty,346Prefixesproperty,346RequestHandlermethod,347Startmethod,346System.
NETnamespace,346HttpListenerContextclassAbortmethod,347Closemethod,347properties,346Responseproperty,347System.
NETnamespace,346HttpListenerExceptionclassSystem.
Netnamespace,346HttpListenerPrefixCollectioncollectionAddmethod,346System.
NETnamespace,346HttpListenerRequestclassSystem.
Netnamespace,346HttpListenerResponseclassSystem.
Netnamespace,346HttpWebRequestclassClientCertificatescollection,350creatinginstance,344IIAsyncResultinterfaceSystemnamespace,324ICloneableinterfaceClonemethod,463–464Systemnamespace,463ICollectioninterfaceCopyTomethod,52IsSynchronizedproperty,134SyncRootproperty,134–135IComparableinterface,470CompareTomethod,467implementation,468Systemnamespace,51,467IComparerinterfaceComparemethod,235,468implementation,468,470System.
Collectionsnamespace,51,235,467System.
Collections.
Genericnamespace,467IconpropertyNotifyIconcontrol,247ICredentialsByHostinterfaceclassesthatimplement,352System.
NETnamespace,352ICustomAttributeProviderinterfaceclassesthatimplement,93GetCustomAttributesmethod,93IsDefinedmethod,93System.
Reflectionnamespace,93IdpropertyNetworkInterfaceClass,337INDEX541IDataParameterinterfacecreating,328dataproviderimplementations,315,319System.
Datanamespace,315,318IDataParameterCollectioninterfaceSystem.
Datanamespace,312IDataReaderinterface,328ExecuteReaderreturns,312extendsIDataRecordinterface,319extendsSystem.
IDisposable,320IDataRecordinterfaceIDataReaderinterfaceextends,319IDbCommandinterface,328CommandTextproperty,311CommandTypeproperty,311CreateParametermethod,316,328dataproviderimplementations,311ExecuteNonQuerymethod,311–312ExecuteReadermethod,311–312,318,328ExecuteScalarmethod,311–312Parameterscollection,315–316,328System.
Datanamespace,311IDbConnectioninterface,328ConnectionStringproperty,301,307CreateCommandmethod,312,328dataproviderimplementations,301System.
Datanamespace,301IDbDataAdapterinterface,328IDbTransactioninterfaceSystem.
Datanamespace,312IDisposableinterfaceDisposemethod,480,510extendedbyIDataReaderinterface,320RegistryKeyclassimplements,510Systemnamespace,56,302,433,480IEnumerableinterface,476GetEnumeratormethod,471,475–476System.
Collectionsnamespace,471,475System.
Collections.
Genericnamespace,471IEnumeratorinterface,476Currentproperty,475GetEnumeratormethod,472members,475MoveNextmethod,475Resetmethod,475System.
Collectionsnamespace,410,471,475System.
Collections.
Genericnamespace,471IFormatProviderinterface,47Systemnamespace,484IFormattableinterfaceSystemnamespace,483ToStringmethod,484IFormatterinterfaceDeserializemethod,58Serializemethod,58System.
Runtime.
Serializationnamespace,58IIdentityinterfaceSystem.
Security.
Principalnamespace,411WindowsIdentityclassimplements,412IIS(InternetInformationServices)hostingremoteobjectsin,387–388ILeaseinterfaceInitialLeaseTimeproperty,389Renewmethod,389RenewOnCallTimeproperty,389ImageclassFromFilemethod,273GetBoundsmethod,260GetThumbnailImagemethod,273System.
Drawingnamespace,273images,showingthumbnailsfor,273–275IMediaControlinterface,279loadingandplayingamovie,279RenderFilemethod,278ImpersonatemethodWindowsIdentityclass,418–419impersonationofWindowsuser,418–421IncrementmethodInterlockedclass,129inequality(!
=)operatorsupportedbyTimeSpanandDateTimestructures,49inequalityoperator!
=,13InfinitepropertyTimeoutclass,108–109informationretrievalfiles,directories,ordrives,143–147versioninformationforafile,152–154InformationvalueEventLogEntryTypeenumeration,504InheritanceDemandvalueimplementing,408SecurityActionenumeration,407usefulness,408InheritedpropertyAttributeUsageAttributeclass,92InitializeComponentmethod,214InitializeLifetimeServicemethodMarshalByRefObjectclass,389InitialLeaseTimepropertyILeaseinterface,389InnerExceptionclass,357InnerTextpropertyXmlNodeclass,184InnerXmlpropertyXmlNodeclass,184InputvalueParameterDirectionenumeration,316InputOutputvalueParameterDirectionenumeration,316InsertAftermethodXmlNodeclass,187InsertAtmethodSecureStringclass,432InsertBeforemethodXmlNodeclass,187InstalledFontCollectionclassSystem.
Drawing.
Textnamespace,258INDEX542InstalledPrinterscollectionPrinterSettingsclass,282InstallerclassInstallersproperty,516System.
Configuration.
Installnamespace,516InstallerCollectionclassSystem.
Configuration.
Installnamespace,516InstallerspropertyInstallerclass,516InstancepropertySqlDataSourceEnumeratorclass,332instantiationusingreflection,87–90inttypeBase64encodinganddecodingusingConvertclass,38convertingtoandfrombytearrayusingBitConverterclass,36–38Int32valueDbTypeenumeration,316interfacesandpatterns,457implementingacloneabletype,463–467acomparabletype,467–471acustomeventargument,490–492acustomexceptionclass,486–490adisposableclass,480–483aformattabletype,483–486aserializabletype,457–463anenumerablecollection,471–475anenumerabletypeusingcustomiterator,475–480theObserverpattern,493–497theSingletonpattern,492–493Interlockedclassmethodsforsynchronizingdataaccess,129System.
Threadingnamespace,128usingmethods,129InternetInformationServices,387–388interoperability.
SeeunmanagedcodeinteroperabilityIntPtrclassSystemnamespace,418,433,442InvalidCastExceptionclassSystemnamespace,86InvalidOperationExceptionclassSystemnamespace,357,411,432,475InvokemethodConstructorInfoclass,87–88IOExceptionclassSystem.
IOnamespace,170IPaddresspinging,357–359resolvinghostnameto,355–357IPGlobalPropertiesclassSystem.
Net.
NetworkInformationnamespace,337IPrincipalclassSystem.
Security.
Principalnamespace,346IPrincipalinterface,415representinguser,415System.
Security.
Principalnamespace,411,418WindowsPrincipalclassimplements,412IPStatusenumerationSystem.
Net.
NetworkInformationnamespace,357values,357irregularlyshapedcontrolcreating,263–265IsAlivepropertyThreadclass,131IsAvailablepropertyNetworkAvailabilityEventArgsclass,339IsBodyHtmlpropertyMailMessageclass,353IsBusypropertyWebBrowsercontrol,254IsClosedpropertydatareaderclasses,319IsDBNullmethoddatareaderclasses,319IsDefinedmethodAttributeclass,94ICustomAttributeProviderinterface,93ISerializableclassSystem.
Runtime.
Serializationnamespace,491ISerializableinterfaceExceptionclassimplements,488GetObjectDatamethod,459,488implementing,459–460System.
Runtime.
Serializationnamespace,458,488IsFinalizingForUnloadmethodAppDomainclass,83IsGrantedmethodSecurityManagerclass,406–407IsInRolemethodWindowsPrincipalclass,411–412IsMatchmethodRegexclass,43–44IsNullablepropertyparameterobjects,316isolatedstores,174–176IsolatedStorageFileclassRoamingflag,175System.
IO.
IsolatedStoragenamespace,174IsolatedStorageFileStreamclassSystem.
IO.
IsolatedStoragenamespace,174IsolatedStoragePermissionclass,175IsPathRootedmethodPathclass,166IsPublicpropertyRegexCompilationInfoclass,46IsReadOnlypropertyFileInfoclass,144INDEX543IsReadypropertyDriveInfoclass,145IsReceiveOnlypropertyNetworkInterfaceClass,337IsSupportedpropertyHttpListenerclass,346IsSynchronizedpropertyICollectioninterface,134testingforthread-safety,134IsVisiblemethodGraphicsPathclass,259–260Regionclass,259–260Itempropertydatareaderclasses,319IVideoWindowinterface,279Ownerproperty,279SetWindowPositionmethod,279IWshShortcutinterface,518Savemethod,518JJITdirectorytreeshowinginTreeViewcontrol,154–156JoinmethodThreadclass,131Jones,AllenandFreeman,AdamProgramming.
NETSecurity,394KKernel32.
dll,440FormatMessagefunction,449GetVersionExfunction,444KeypropertyConsoleKeyInfoclass,62KeyedHashAlgorithmclass,430KeyAvailablemethodConsoleclass,62KeyCharpropertyConsoleKeyInfoclass,62KeyPressEventArgsclass,231keyedhashcodeensuringdataintegrity,429–431KeyedHashAlgorithmclassCreatemethod,430Keyproperty,430System.
Security.
Cryptographynamespace,429–430KeyPresseventComboBoxcontrol,232TextBoxcontrol,231KeyPressEventArgsclassHandledproperty,231KeyCharproperty,231keywordsaccessingprogramelementthathassamenameaskeyword,15KillmethodProcessclass,138LLabelcontroladdingtoPanelcontrol,258MouseMoveevent,245MouseUpevent,245LanguagepropertyFormclass,242LargestWindowHeightpropertyConsoleclass,29LargestWindowWidthpropertyConsoleclass,29LastAccessvalueNotifyFiltersenumeration,177LastAccessTimepropertyDirectoryInfoclass,144FileInfoclass,144LastWritevalueNotifyFiltersenumeration,177LastWriteTimepropertyDirectoryInfoclass,144FileInfoclass,144LayoutKindclassExplicitproperty,445LeBlanc,DavidandHoward,MichaelWritingSecureCode,2ndedition,394LengthpropertyFileInfoclass,144,151StringBuilderclass,32lessthan(<)operatorsupportedbyTimeSpanandDateTimestructures,50lessthanorequalto(<=)operatorsupportedbyTimeSpanandDateTimestructures,50LifetimeinterfaceSystem.
Runtime.
Remoting.
ILeasenamespace,389LinkDemandFullTrustpermission,395LinkedListclassSystem.
Collections.
Genericnamespace,54ListclassSystem.
Collections.
Genericnamespace,54ListBoxclassTopIndexproperty,228ListViewcontrolListViewItemSorterproperty,235Sortmethod,235sortingbyanycolumn,235–238ListViewItemclassTagproperty,217ListViewItemSorterpropertyListViewcontrol,235literals,42LoadeventFormclass,154LoadmethodAssemblyclass,72–73,77SoundPlayerclass,276INDEX544XmlDocumentclass,184XslCompiledTransformclass,209LoadFrommethodAssemblyclass,72–73LoadSyncmethodSoundPlayerclass,276LoadUserProfilepropertyProcessStartInfoclass,136LoadWithPartialNamemethodAssemblyclass,72LoadXMLmethodXmlDocumentclass,184LocalizablepropertyFormclass,241LocalMachinefieldRegistryKeyclass,509LocalMachinevalueDataProtectionScopeenumeration,436lockstatements,116,134LogonUserfunction,419LoopbackInterfaceIndexpropertyNetworkInterfaceclass,337LoopbackvalueNetworkInterfaceTypeenumeration,337MMachineNamepropertyEnvironmentclass,500MACTripleDESclassSystem.
Security.
Cryptographynamespace,430MailAddressclassSystem.
Net.
Mailnamespace,353MailAddressCollectionclass,353System.
Net.
Mailnamespace,353MailMessageclassproperties,352Sendmethod,353SendAsyncmethod,353SendCompletedevent,353System.
Net.
Mailnamespace,352MainWindowHandlepropertyProcessclass,442makecert.
exe.
SeeCertificateCreationtoolMakeReadOnlymethodSecureStringclass,432manipulatingstringsrepresentingfilenames,165–167ManualResetEventclassResetmethod,121Setmethod,121System.
Threadingnamespace,120usedasatrigger,111MarshalclassFinalReleaseComObjectmethod,452GetLastWin32Errormethod,448–449ReleaseComObjectmethod,452SizeOfmethod,444–445System.
Runtime.
InteropServicesnamespace,432,444marshal-by-referencetypes.
SeeMBRtypesmarshal-by-valuetypes.
SeeMBVtypesMarshalAsAttributeclassfixed-lengthstrings,445MarshalByRefclassSystemnamespace,382MarshalByRefObjectclass,386classesthatderivefrom,72creatingatypethatdoesnotderivefrom,71GetLifetimeServicemethod,389InitializeLifetimeServicemethod,389Systemnamespace,68,381MaskpropertyMaskedTextBoxcontrol,229MaskedTextBoxcontrol,248BeepOnErrorproperty,230Maskproperty,229MaskInputRejectedevent,230MaskInputRejectedeventMaskedTextBoxcontrol,230MaxCapacitypropertyStringBuilderclass,32MaximizeBoxpropertyFormclass,244MaximizedvalueProcessWindowStyleenumeration,136MBRtypesintroduction,68MBVtypesintroduction,68passingMBVreferencesacrossapplicationdomains,70MD5CryptoServiceProviderclassSystem.
Security.
Cryptographynamespace,424MdiParentpropertyFormclass,223MemberwiseClonemethodObjectclass,463–464MemoryProtectionScopeenumerationSystem.
Security.
Cryptographynamespace,436values,436MemoryStreamclassconvertingdecimaltypetobytearray,36System.
IOnamespace,464ToArraymethod,36MenuItemclassCloneMenumethod,239Tagproperty,217MessageBoxclassShowmethod,217metacharacters,42metadata,65MethodBaseclasssubclasses,93Microsoft.
NETFramework.
See.
NETFrameworkMicrosoft.
Win32namespaceRegistryclass,506,508RegistryKeyclass,508RegistryValueKindenumeration,509INDEX545MIMEstandardsBase64encoding,41MinimizeBoxpropertyFormclass,244MinimizedvalueProcessWindowStyleenumeration,136MissingfieldTypeclass,453MissingMethodExceptionclassSystemnamespace,75ModifierspropertyConsoleKeyInfoclass,62modulesintroduction,7–8usage,8MonitorclasscomparedtoMutexclass,124constructinginausingstatement,141Entermethod,115–116Exitmethod,115–116Pulsemethod,117PulseAllmethod,117synchronizingtheexecutionofmultiplethreads,115–120System.
Threadingnamespace,116Waitmethod,117monitoringfilesystem,176–179MouseDowneventControlclass,244,251MouseMoveeventControlclass,244Formclass,260Labelclass,245MouseUpeventControlclass,244Labelclass,245moveablespritecreating,265–268MoveNextmethodIEnumeratorinterface,475MoveTomethodDirectoryInfoclass,150FileInfoclass,149multilingualforms,241–244multimedia,257multiplethreads,synchronizingusingaMonitor,115–120usingaMutex,124-126usingaSemaphore,126-128usinganevent,120–124MultiselectpropertyOpenFileDialogclass,172mutablestringssubstitutingStringBuilderforString,442Mutexclass,126comparedtoMonitor,124ReleaseMutexmethod,124synchronizingtheexecutionofmultiplethreads,124–126System.
Threadingnamespace,124,140usedasatrigger,111NNamepropertyDirectoryInfoclass,144FileInfoclass,144RegexCompilationInfoclass,46XmlNodeclass,184XmlReaderclass,197NamepropertyNetworkInterfaceClass,337NamespacepropertyRegexCompilationInfoclass,46NavigatemethodWebBrowsercontrol,254.
NETclassescreatingschemasfor,207–208.
NETclientsusingActiveXcontrols,454–455usingCOMcomponents,450–452.
NETCompactFrameworkDataProviderforSQLServerCE,300.
NETcomponentsexposingthroughCOM,455–456.
NETFrameworkaccessingADOobjects,451dataproviders,299datatypescomparedtoXMLschemadatatypes,200integrationwithXML,183methodoverloading,453Permview.
exeand,404securitypolicy,393optionalpermissionrequest,402refuserequest,402unmanagedcodeinteroperability,439.
NETFrameworkDataProviderforODBC,299.
NETFrameworkDataProviderforOLEDB,299.
NETFrameworkDataProviderforOracle,299.
NETFrameworkDataProviderforSQLServer,300.
NETRemotingintroduction,67–68.
NETservicesPInvoke,440NetworkAddressChangedeventNetworkChangeclass,339NetworkAvailabilityChangedeventNetworkChangeclass,339NetworkAvailabilityChangedEventHandlerdelegatehandlingNetworkAvailabilityChangedevent,339NetworkAvailabilityEventArgsclassIsAvailableproperty,339INDEX546NetworkChangeclassNetworkAddressChangedevent,339NetworkAvailabilityChangedevent,339System.
Net.
NetworkInformationnamespace,339NetworkCredentialclassimplementsICredentialsByHostinterface,352System.
Netnamespace,350,376UseDefaultCredentialsproperty,376networkingandremoting,335–336avoidinghard-codingXMLwebserviceURL,374–376callingawebmethodasynchronously,378–381communicatingusingTCP,359–363communicatingusingUDP,371–374controllinglifetimeofremoteobjects,388–390controllingversioningofremoteobjects,390–391detectingchangesinnetworkconnectivity,339–341downloadingafileandprocessitusingStream,343–346downloadingdataoverHTTPorFTP,341–343gettingHTMLpageusingauthentication,349–351hostingremoteobjectsinIIS,387–388makinganobjectremotable,381–385multithreadedTCPserverforasynchronouscommunications,363–371obtaininginformationaboutlocalnetworkinterface,336–339pinginganIPaddress,357–359registeringremotableclassesinassembly,385–387resolvingahostnametoanIPaddress,355–357respondtoHTTPrequestsfromyourapplication,346–349sendinge-mailusingSMPT,351–355settingauthenticationcredentialsforXMLwebservice,376–378NetworkInterfaceclassexample,338–339GetAllNetworkInterfacesmethod,336,339NetworkInterfaceClassmembers,337NetworkInterfaceclassSystem.
Net.
NetworkInformationnamespace,336NetworkInterfaceComponentenumerationSystem.
Net.
NetworkInformationnamespace,337NetworkInterfaceTypeenumerationvalues,337NetworkInterfaceTypepropertyNetworkInterfaceClass,337NetworkStreamclassBeginReadmethod,364BeginWritemethod,364System.
Net.
Socketsnamespace,359,364UDPapplicationscannotuse,371NextResultmethoddatareaderclasses,319nodesinsertingintoXMLdocuments,187–189retrievingfromspecificnamespace,192–194NodeTypepropertyXmlNodeclass,184XmlReaderclass,197nonremotabletypes,68NonSerializedAttributeclassimplementingISerializableinterface,459Systemnamespace,458NoPrincipalvaluePrincipalPolicyenumeration,416NormalvalueProcessWindowStyleenumeration,136NotifyFilterpropertyFileSystemWatcherclass,177NotifyFiltersenumerationSystem.
IOnamespace,177values,177NotifyIconcontrolIconproperty,247NowpropertyDateTimestructure,109NumberFormatInfoclass,484OObjectclassGetTypemethod,85MemberwiseClonemethod,463–464Systemnamespace,54,463ToStringmethod,410ObjectDisposedExceptionclassSystemnamespace,481ObjectHandleclass,71referencetonewobjectwrappedin,77System.
Runtime.
Remotingnamespace,70Observerpatternimplementing,493–497OdbcCommandclassSystem.
Data.
Odbcnamespace,311OdbcConnectionclassSystem.
Data.
Odbcnamespace,301OdbcConnectionStringBuilderclassSystem.
Data.
Odbcnamespace,307OdbcDataReaderclassSystem.
Data.
Odbcnamespace,319OdbcFactoryclassSystem.
Data.
Odbcnamespace,329OdbcParameterclassSystem.
Data.
Odbcnamespace,315OleDbCommandclassSystem.
Data.
OleDbnamespace,311INDEX547OleDbConnectionclassexample,302System.
Data.
OleDbnamespace,301OleDbConnectionStringBuilderclassSystem.
Data.
OleDbnamespace,307OleDbDataReaderclassSystem.
Data.
OleDbnamespace,319OleDbFactoryclassSystem.
Data.
OleDbnamespace,329OleDbParameterclassSystem.
Data.
OleDbnamespace,315OnClosedmethodFormclass,223OnClosingmethodFormclass,223OnContinuemethodServiceBaseclass,512OnCustomCommandmethodServiceBaseclass,513OnDeserializedAttributeclass,459OnDeserializingAttributeclass,459OnKeyPressmethodComboBoxcontrol,232OnLoadmethodFormclass,223OnPausemethodServiceBaseclass,512OnPowerEventmethodServiceBaseclass,512OnSerializedAttributeclass,459OnSerializingAttributeclass,459OnSessionChangemethodServiceBaseclass,513OnShutdownmethodServiceBaseclass,512OnStartmethodServiceBaseclass,512OnStopmethodServiceBaseclass,512OnTextChangedmethodComboBoxcontrol,232Openmethodconnectionobjects,302FileInfoclass,149OpenExeConfigurationmethodConfigurationManagerclass,309OpenExistingmethodEventWaitHandleclass,121OpenFileDialogclassCheckFileExistsproperty,172FileNameproperty,172Filterproperty,172Multiselectproperty,172settingfilterstring,173System.
Windows.
Formsnamespace,172OpenFormspropertyApplicationclass,220OpenReadmethodFileInfoclass,149WebClientclass,341,344OpenReadAsyncmethodWebClientclass,341OpenReadCompletedeventWebClientclass,341OpenRemoteBaseKeymethodRegistryKeyclass,509OpenSubKeymethodRegistryKeyclass,509OpenTextmethodFileInfoclass,149OpenWritemethodFileInfoclass,149OperatingSystemclassproperties,501Systemnamespace,500OperationalStatusenumerationSystem.
Net.
NetworkInformationnamespace,337values,337OperationalStatuspropertyNetworkInterfaceclass,337optionalparameterspassingbyreference,453optionalpermissionrequest,402OptionalFieldAttributeclassSystem.
Runtime.
Serializationnamespace,459OptionspropertyRegexCompilationInfoclass,46OptionsvalueRegexOptionsenumeration,46OR(|)arithmeticoperator,147ORoperator||,13OracleClientFactoryclassSystem.
Data.
OracleClientnamespace,329OracleCommandclassSystem.
Data.
OracleClientnamespace,311OracleConnectionclassSystem.
Data.
OracleClientnamespace,301OracleConnectionStringBuilderclassSystem.
Data.
OracleClientnamespace,307OracleDataReaderclassmethods,320System.
Data.
OracleClientnamespace,319OracleParameterclassSystem.
Data.
OracleClientnamespace,315OSVersionpropertyEnvironmentclass,500OSVersionInfoclassdefiningwithexplicitlayout,445OuterXmlpropertyXmlNodeclass,184OutputvalueParameterDirectionenumeration,316overloadingmethods.
NETFramework,453OverwritePromptpropertySaveFileDialogclass,173OwnerpropertyIVideoWindowinterface,279INDEX548PP/Invokeandallcodefulltrust,395PainteventhandlerFormclass,260,272PanelclassAutoScrollproperty,215PanelcontroladdingLabelcontrol,258AutoScrollproperty,268placingPictureBoxcontrolinside,268System.
Windows.
Formsnamespace,268parameterobjectscommonproperties,316ParameterDirectionenumerationSystem.
Datanamespace,316values,316ParameterizedThreadStartdelegate,113System.
Threadingnamespace,113ParameterNamepropertyparameterobjects,316parameterspassingoptionalbyreference,453usingoptionalparameters,453–454ParameterscollectionAddmethod,315–316,328IDbCommandinterface,315–316,328Parameterspropertycommandobjects,312ParentpropertyDirectoryInfoclass,144parenthesesoperator(),13ParsemethodDateTimeclass,47ParseExactmethodDateTimeclass,47partiallytrustedcodeallowingtousestrong-namedassemblies,394–396PasswordpropertyProcessStartInfoclass,136passwordscalculatingthehashcodeofpassword,422–425PathclassChangeExtensionmethod,165GetFileNamemethod,165GetInvalidPathCharsmethod,166GetRandomFileNamemethod,180GetTempFileNamemethod,169,180methods,166System.
IOnamespace,165,168–169,180PathpropertyFileSystemWatcherclass,177paths,determiningwhetherdirectoryorfile,167–168PatternpropertyRegexCompilationInfoclass,46patterns.
SeeinterfacesandpatternsPausemethodWin32_Printerclass,295Win32_PrintJobclass,295PerformanceDatafieldRegistryKeyclass,509Permcalc.
exe,404,406limitations,404permissionrequest,400permissions,393determiningspecificpermissionsatruntime,406–407PermissionsCalculator.
SeePermcalc.
exePermissionsViewtool.
SeePermview.
exePermissionSetclassSystem.
Securitynamespace,405PermissionSetAttributeclass,409Permview.
exe,404,405and.
NET2.
0,404PhysicalAddressclassGetAddressBytesmethod,337System.
Net.
NetworkInformationnamespace,337ToStringmethod,337PIA(primaryinteropassembly),451PictureBoxcontrolHandleproperty,279placinginsidePanelcontrol,268SizeChangedevent,280System.
Windows.
Formsnamespace,268PingclassPingCompletedevent,357Sendmethod,357SendAsyncmethod,357System.
Net.
NetworkInformationnamespace,357PingCompletedeventPingclass,357PingCompletedEventHandlerdelegateSystem.
Net.
NetworkInformationnamespace,357pinginganIPaddress,357–359PingOptionsclassSystem.
Net.
NetworkInformationnamespace,357PingReplyclassStatusproperty,357System.
Net.
NetworkInformationnamespace,357PInvokeandcross-platformexecution,440pipecharacter(|)settingfilterstring,173PlatformInvoke,440PlatformpropertyOperatingSystemclass,501PlatformNotSupportedExceptionclassSystemnamespace,346PlaymethodSoundPlayerclass,276SystemSoundclass,275INDEX549PlaySyncmethodSoundPlayerclass,276PolicyExceptionclass,401System.
Security.
Policynamespace,400,415pollingdeterminingifasynchronousmethodsarefinished,325PortpropertySmtpClientclass,352positionfunction,196PowerUservalueWindowsBuiltInRoleenumeration,413PrefixespropertyHttpListenerclass,346primaryinteropassembly.
SeePIAPrincipalPermissionclassSystem.
Security.
Permissionsnamespace,414PrincipalPermissionAttributeclassSystem.
Security.
Permissionsnamespace,414PrincipalPolicyenumerationSystem.
Security.
Principalnamespace,415values,415PrintDialogclass,282attachingtoPrintDocumentclass,285Documentproperty,285System.
Windows.
Formsnamespace,285PrintDocumentclass,282,292attachingPrintDialogclass,285BeginPrintevent,284customclassinheritingfrom,287–288DefaultPageSettingsproperty,285EndPrintevent,284PrinterSettingsproperty,285PrintPageevent,284–285,287–288System.
Drawing.
Printingnamespace,284PrinterNamepropertyPrinterSettingsclass,282PrinterSettingsclassInstalledPrinterscollection,282PrinterNameproperty,282System.
Drawing.
Printingnamespace,282PrinterSettingspropertyPrintDocumentclass,285printing,257managingprintjobs,295–298printingmultipagedocument,287–290printingsimpledocument,284–287printingwrappedtext,290–292retrievinginformationaboutprinters,282–284showingadynamicprintpreview,292–295PrintOperatorvalueWindowsBuiltInRoleenumeration,413PrintPageeventPrintDocumentclass,284–285,287–288PrintPageEventArgsclassHasMorePagesproperty,287–288PrintPreviewControlclassDocumentproperty,293System.
Windows.
Formsnamespace,292PrintPreviewDialogclassDocumentproperty,292Showmethod,292System.
Windows.
Formsnamespace,292PrintTestPagemethodWin32_Printerclass,298PrivateBinPathpropertyAppDomainSetupclass,66Processclass,135–136CloseMainWindowmethod,138–139Handleproperty,442HasExitedproperty,139Killmethod,138MainWindowHandleproperty,442methods,138Startmethod,135–136System.
Diagnosticsnamespace,135,442WaitForExitmethod,137,139processes,95–96startinganewprocess,134–138terminatingaprocess,138–140ProcessInfoclassSystem.
Diagnosticsnamespace,135ProcessorCountpropertyEnvironmentclass,500ProcessStartInfoclassproperties,136–137System.
Diagnosticsnamespace,433ProcessWindowStyleenumerationSystem.
Diagnosticsnamespace,136values,136Programming.
NETSecurityAdamFreemanandAllenJones,394ProtectmethodProtectedMemoryclass,436ProtectedDataclassexample,436–437System.
Security.
Cryptographynamespace,435Unprotectmethod,435ProtectedMemoryclassProtectmethod,436System.
Security.
Cryptographynamespace,435Unprotectmethod,435ProtectSectionmethodSectionInformationclass,309ProviderNamepropertyConnectionStringSettingsclass,309PublisherclassSystem.
Security.
Policynamespace,408PublisherIdentityPermissionclass,408System.
Security.
Permissionsnamespace,408PublisherIdentityPermissionAttributeclass,408PulsemethodMonitorclass,117PulseAllmethodMonitorclass,117INDEX550QQuartzlibrary,277QueueclassSystem.
Collections.
Genericnamespace,54QueuecollectionToArraymethod,52QueueUserWorkItemmethodThreadPoolclass,97RRammer,IngoandSzpuszta,MarioAdvanced.
NETRemoting,2ndedition,384RandomclassSystemnamespace,421randomfilenames,180randomnumberscreatingacryptographicallyrandomnumber,421–422RandomNumberGeneratorclassGetBytesmethod,421GetNonZeroBytesmethod,421System.
Security.
Cryptographynamespace,421RCW(runtimecallablewrapper)creating,451creatingforActiveXcontrols,454generatingusingVisualStudio,450options,450ReadmethodBinaryReaderclass,158Consoleclass,61datareaderclasses,319StreamReaderclass,156–157XmlReaderclass,197,200ReadDecimalmethodBinaryReaderclass,158ReadElementStringmethodXmlReaderclass,199readingXML.
SeeXMLprocessingReadKeymethodConsoleclass,61ReadLinemethodConsoleclass,61StreamReaderclass,156–157ReadStringmethodBinaryReaderclass,158ReadToDescendantmethodXmlReaderclass,199ReadToEndmethodStreamReaderclass,157ReadToFollowingmethodXmlReaderclass,199ReadToNextSiblingmethodXmlReaderclass,199RectanglestructContainsmethod,259–260System.
Drawingnamespace,259redrawspeedusingdoublebufferingtoincrease,271–273refkeyword,128referencecounting,452reflection,65inspectingattributesofprogramelement,93–94instantiatinganobjectusingreflection,87–90RefreshmethodDirectoryInfoclass,145FileInfoclass,145refuserequest,402RegexclassCompileToAssemblymethod,45–46creatinginstancethatiscompiledtoMSIL,46IsMatchmethod,43–44System.
Text.
RegularExpressionsnamespace,43,45testingmultiplestrings,44RegexCompilationInfoclassmostcommonlyusedproperties,45System.
Text.
RegularExpressionsnamespace,45RegExDesigner.
NETSells,Chris,42RegexOptionsenumerationCompiledoption,45Optionsvalue,46System.
Text.
RegularExpressionsnamespace,45RegionclasscreatingobjectfromGraphicsPath,263IsVisiblemethod,259–260System.
Drawingnamespace,259–260,263RegionpropertyControlclass,263,265Formclass,263RegisteredWaitHandleclassUnregistermethod,111RegisterWaitForSingleObjectmethodThreadPoolclass,111RegisterWellKnownServiceTypemethodRemotingConfigurationclass,385Registryclassexample,506,508GetValuemethod,506Microsoft.
Win32namespace,506,508SetValuemethod,506RegistryKeyclassexample,510–511fields,508GetSubKeyNamesmethod,509implementsIDisposable,510methods,509Microsoft.
Win32namespace,508OpenRemoteBaseKeymethod,509OpenSubKeymethod,509SubKeyCountproperty,509RegistryValueKindenumerationMicrosoft.
Win32namespace,509RegistyValueKindenumerationMicrosoft.
Win32namespace,506INDEX551regularexpressionscommonlyusedregularexpressions,43usingcompiledregularexpressions,45–47validatinginput,41–44relativepaths,168–169ReleasemethodSemaphoreclass,126ReleaseComObjectmethodMarshalclass,452ReleaseMutexmethodMutexclass,124remotingassuccessortoDCOM,335controllinglifetimeofremoteobjects,388–390controllingversioningofremoteobjects,390–391creatingremotableobjects,381–385hostingremoteobjectsinIIS,387–388registeringremotableobjectsinassembly,385–387RemotingConfigurationclassConfiguremethod,381RegisterWellKnownServiceTypemethod,385System.
Runtime.
Remotingnamespace,381RemoveAtmethodSecureStringclass,432RenamedeventFileSystemWatcherclass,176RenamedEventArgsclass,177RenewmethodILeaseinterface,389RenewOnCallTimepropertyILeaseinterface,389ReplacemethodFileInfoclass,149ReplicatorvalueWindowsBuiltInRoleenumeration,413ReplyTopropertyMailMessageclass,353RequestpropertyHttpListenerContextclass,346RequestAdditionalTimemethodServiceBaseclass,512RequestHandlermethodHttpListenerclass,347RequestMinimumvalueSecurityActionenumeration,401RequestRefusevalueSecurityActionenumeration,403ResetmethodIEnumeratorinterface,475ManualResetEventclass,121ResetAbortmethodThreadclass,132ResetColormethodConsoleclass,29ResponsepropertyHttpListenerContextclass,346–347restrictionsonusersextendingandoverridingmembers,407–409ResumemethodWin32_Printerclass,295Win32_PrintJobclass,295ResumeLayoutmethodControlclass,215retrievinghandles,444unmanagederrorinformation,450ReturnValuevalueParameterDirectionenumeration,316ReverseStringmethodStringBuilderclass,32RichTextBoxclass,173RIPEMD160ManagedclassSystem.
Security.
Cryptographynamespace,424RNGCryptoServiceProviderclassaswrapperforCryptGenRandomfunction,421example,422System.
Security.
Cryptographynamespace,421role-basedsecurity,393RootpropertyDirectoryInfoclass,144RowCountpropertyTableLayoutPanelcontainer,238RsaProtectedConfigurationProviderclass,309RunmethodServiceBaseclass,511,515RunmethodApplicationclass,4RunInstallerAttributeclassSystem.
ComponentModelnamespace,516RunningmethodThreadStateclass,113runtimecallablewrapper.
SeeRCWruntimeenvironmentinformationaccessing,499–503SSameLogonvalueMemoryProtectionScopeenumeration,436SameProcessvalueMemoryProtectionScopeenumeration,436SavemethodIWshShortcutinterface,518XmlDocumentclass,188SaveFileDialogclassCreatePromptproperty,173FileNameproperty,173OverwritePromptproperty,173settingfilterstring,173System.
Windows.
Formsnamespace,172SavePolicymethodSecurityManagerclass,398,400INDEX552schemascreatingfor.
NETclasses,207–208generatingaclassfrom,208–209validatingdocumentsagainstaschema,199–204SchemaspropertyXmlDocumentclass,204schemas,XML.
SeeXMLschemasSCM(WindowsServiceControlManager)methodsandpropertiesinheritedfromServiceBaseclass,512screencapture,performing,270–271scrollableimagecreating,268–270SearchOptionenumeration,163AllDirectoriesvalue,163SectionInformationclassConnectionStringsSectioncollection,309ProtectSectionmethod,309Unprotectmethod,309SecureStringclassAppendCharmethod,432Clearmethod,433Disposemethod,433InsertAtmethod,432MakeReadOnlymethod,432RemoveAtmethod,432SetAtmethod,432System.
Securitynamespace,432ToStringmethod,432security,393–394allowingpartiallytrustedcodetousestrong-namedassemblies,394–396determiningatruntimeifcodehasspecificpermission,406–407determiningifuserismemberofWindowsgroup,411–414disablingcodeaccesssecurity,396–398disablingexecutionpermissionchecks,398–400ensuringruntimegrantsspecificpermissionstoassembly,400–402impersonatingaWindowsuser,418–421inspectingassembly'sevidence,409–411limitingpermissionsgrantedtoassembly,402–403optionalpermissionrequest,402refuserequest,402restrictingwhichusercanexecutecode,414–418restrictingwhocanextendclassesandoverridemembers,407–409viewingpermissionsrequiredbyassembly,403–406workingwithsecurity-sensitivestringsinmemory,432–435SecurityvalueNotifyFiltersenumeration,177SecurityActionenumerationInheritanceDemandvalue,407RequestMinimumvalue,401System.
Security.
Permissionsnamespace,403SecurityEnabledpropertySecurityManagerclass,397SecurityExceptionclassSystem.
Securitynamespace,400,404,407,414SecurityIdentifierclassSystem.
Security.
Principalnamespace,412SecurityManagerclassCheckExecutionRightsproperty,398–400IsGrantedmethod,406–407SavePolicymethod,398,400SecurityEnabledproperty,397System.
Securitynamespace,397,406SecurityPermissionclass,401ControlPolicyelement,397,399ControlPrincipalelement,415,418Executionelement,399System.
Security.
Permissionsnamespace,58,397,398SelectmethodCertificatesclass,376SelectedPathpropertyFolderBrowserDialogclass,173SelectFromCollectionmethodX509Certificate2UIclass,350SelectNodesmethodXmlDocumentclass,194XmlNodeclass,194SelectSingleNodemethodXmlDocumentclass,194XmlNodeclass,194Sells,ChrisRegExDesigner.
NET,42SemaphoreclassReleasemethod,126System.
Threadingnamespace,126usedasatrigger,111SendmethodMailMessageclass,353Pingclass,357SendAsyncmethodMailMessageclass,353Pingclass,357SendCompletedeventMailMessageclass,353sequentiallayoutdefined,445serializabletypesimplementing,457–463storingtoafile,58–61SerializableAttributeclass,458implementingISerializableinterface,459Systemnamespace,72,458,488,491serializationattributes,459XMLserializationwithcustomobjects,204–207INDEX553SerializationExceptionclassSystem.
Runtime.
Serializationnamespace,81SerializationInfoclass,459AddValuemethod,459GetXXXmethods,460SerializemethodBinaryFormatterclass,58IFormatterinterface,58SoapFormatterclass,58SerialPortclassSystem.
IO.
Portsnamespace,179ServiceBaseclassmethods,512properties,512–513RequestAdditionalTimemethod,512Runmethod,511,515System.
ServiceProcessnamespace,511ServiceDependsUponpropertyServiceInstallerclass,516ServiceInstallerclassproperties,516ServiceNamepropertyServiceBaseclass,513ServiceInstallerclass,516ServicePackpropertyOperatingSystemclass,501ServiceProcessInstallerclassSystem.
ServiceProcessnamespace,516SessionChangeDescriptionclassSystem.
ServiceProcessnamespace,513SetmethodAutoResetEventclass,121ManualResetEventclass,121SetRegistrytool,27SetAccessControlmethodFileclass,180SetAtmethodSecureStringclass,432SetCurrentDirectorymethodDirectoryclass,168SetDatamethodAppDomainclass,80–81SetDefaultPrintermethodWin32_Printerclass,298SetLastErrorfieldDllImportAttributeclass,448SetMaxThreadsmethodThreadPoolclass,99SetPrincipalPolicymethodAppDomainclass,415setreg.
exe,27SetStylemethodFormclass,271SetThreadPrincipalmethodAppDomainclass,415SetValuemethodRegistryclass,506RegistryKeyclass,510SetWindowPositionmethodIVideoWindowinterface,279SetWindowSizemethodConsoleclass,29SHA1CryptoServiceProviderclassSystem.
Security.
Cryptographynamespace,424SHA1ManagedclassSystem.
Security.
Cryptographynamespace,424SHA256ManagedclassSystem.
Security.
Cryptographynamespace,424SHA384ManagedclassSystem.
Security.
Cryptographynamespace,424shallowcopy,463shapes,hittesting,259–263shareddata,synchronizingaccessto,128–130ShiftvalueConsoleModifiersenumeration,62shortcuts,creatingonDesktoporStartmenu,518–520ShowmethodMessageBoxclass,217PrintPreviewDialogclass,292SignToolsigningassemblieswithAuthenticode,22–25supersedesFileSigningtool,22SignalAndWaitmethodWaitHandleclass,121simpletypesXMLschemas,200SingleCallvalueWellKnownObjectModeenumeration,385Singletonpatternimplementing,492–493SingletonvalueWellKnownObjectModeenumeration,385SiteclassSystem.
Security.
Policynamespace,408SiteIdentityPermissionclassSystem.
Security.
Permissionsnamespace,408SizevalueNotifyFiltersenumeration,177SizeChangedeventPictureBoxcontrol,280SizeOfmethodMarshalclass,444–445SMTP,sendingemail,351–355SmtpClientclassexample,353,355properties,352System.
Net.
Mailnamespace,352sn.
exe.
SeeStrongNametoolSoapFormatterclass,60Deserializemethod,58Serializemethod,58System.
Runtime.
Serialization.
Formatters.
Soapnamespace,58,205SocketPermissionclass,401System.
Netnamespace,400INDEX554SocketPermissionAttributeclass,401SoftwarePublisherCertificateTesttoolgeneratingSPCfromX.
509certificate,25SoftwarePublisherCertificate,25-27SortmethodArrayclass,51ArrayListclass,51,468ListViewcontrol,235sortingarrays,51–52soundplayingsimplebeeporsystemsound,275–276playingsoundfiles,277–279playingWAVfiles,276–277SoundPlayerclassLoadmethod,276LoadSyncmethod,276Playmethod,276PlaySyncmethod,276System.
Medianamespace,275–276SPC(SoftwarePublisherCertificate)creating,25–27SpecialFolderspropertyWshShellclass,518–519SpeedpropertyNetworkInterfaceclass,337spritecreatingmoveablesprite,265–268SQLcommandexecuting,311–315usingparametersin,315–318SQLqueryprocessingresultswithdatareader,318–321SQLServerdiscoverallinstancesonNetwork,331–333performingasynchronousdatabaseoperationsagainst,324–327SQLServerqueryobtainingXMLdocumentfrom,321–324SqlCeCommandclassSystem.
Data.
SqlServerCenamespace,311SqlCeConnectionclassSystem.
Data.
SqlServerCenamespace,301SqlCeDataReaderclassSystem.
Data.
SqlServerCenamespace,319SqlCeParameterclassSystem.
Data.
SqlServerCenamespace,315SqlClientFactoryclass,330System.
Data.
SqlClientnamespace,329SqlCommandclassExecuteXmlReadermethod,321–322methods,324System.
Data.
SqlClientnamespace,311SqlConnectionclassexample,302System.
Data.
SqlClientnamespace,301,325SqlConnectionStringBuilderclassparsingandconstructingSQLServerconnectionstrings,307–308System.
Data.
SqlClientnamespace,307SqlDataReaderclassmethods,320System.
Data.
SqlClientnamespace,319SqlDataSourceEnumeratorclass,332GetDataSourcesmethod,331Instanceproperty,332System.
Data.
SqlClientnamespace,331SqlParameterclassSystem.
Data.
SqlClientnamespace,315StackclassSystem.
Collections.
Genericnamespace,54StackcollectionToArraymethod,52StartmethodHttpListenerclass,346Processclass,135–136Threadclass,113,132starts-withfunction,196StartTypepropertyServiceInstallerclass,516StatuspropertyPingReplyclass,357StopmethodWebBrowsercontrol,254storedprocedureexecuting,311–315usingparametersin,315–318StoredProcedurevalueCommandTypeenumeration,312storingaconnectionstringsecurely,308–311StreamclassSystem.
IOnamespace,56,72,341,426,430StreamingContextclass,459System.
Runtime.
Serializationnamespace,459StreamReaderclassReadmethod,156–157ReadLinemethod,156–157ReadToEndmethod,157System.
IOnamespace,344StreamWriterclassSystem.
IOnamespace,156Writemethod,156WriteLinemethod,156Stringclassasconnectionstrings,307Formatmethod,484immutabilityofobjects,32insecurityof,432Systemnamespace,463,484stringmanipulation,31–33StringvalueDbTypeenumeration,316StringBuilderclass,211Capacityproperty,32Lengthproperty,32MaxCapacityproperty,32ReverseStringmethod,32System.
Textnamespace,31,88,428ToStringmethod,31INDEX555stringsSeealsomutablestringscreatingdatesandtimesfrom,47–49fixed-lengthstrings,445usingalternatecharacterencoding,33–35StrongNametool,16–17,21-Vrswitch,20-Vuswitch,21verifyingassembly'sstrongname,19strong-namedassembliesallowingpartiallytrustedcodetouse,394–396delaysigning,20–21verifyingthatassemblyhasnotbeenmodified,19–20strong-namedkeypairscreatingandmanaging,16–17strong-namesgivingtoassemblies,17–19stronglytypedcollectionsusing,54–55StrongNameclassSystem.
Security.
Policynamespace,408StrongNameIdentityPermissionclass,408System.
Security.
Permissionsnamespace,408StrongNameIdentityPermissionAttributeclass,409StructLayoutAttributeclass,444constructor,445System.
Runtime.
InteropServicesnamespace,444SubjectpropertyMailMessageclass,353SubjectEncodingpropertyMailMessageclass,353SubKeyCountpropertyRegistryKeyclass,509Subtraction(-)operatorsupportedbyTimeSpanandDateTimestructures,49SuccessvalueIPStatusenumeration,357SuccessAuditvalueEventLogEntryTypeenumeration,504SupportsmethodNetworkInterfaceclass,337SupportsMulticastpropertyNetworkInterfaceclass,337SuppressFinalizemethodGCclass,481SuspendLayoutmethodControlclass,215synchronization,95–96accesstoshareddata,128–130executionofmultiplethreadsusingaMonitor,115–120usingaMutex,124–126usingaSemaphore,126–128usinganevent,120–124SynchronizedmethodcollectionclassesinSystem.
Collections,134SyncRootpropertycollectionsinSystem.
Collections.
Specialized,134ICollectioninterface,134–135SystemnamespaceActivatorclass,90AppDomainclass,66,415ArgumentExceptionclass,52,307,346,467ArgumentNullExceptionclass,88,487ArgumentOutOfRangeExceptionclass,32,487AsyncCallbackdelegate,325,346Attributeclass,91AttributeTargetsenumeration,91AttributeUsageAttributeclass,91BitConverterclass,36,427CannotUnloadAppDomainExceptionclass,83Consoleclass,28,61,483ConsoleColorenumeration,29ConsoleKeyInfoclass,62Convertclass,38DateTimestructure,31,47,109,144,468Enumclass,87Environmentclass,10,499Environment.
SpecialFolderenumeration,501EnvironmentVariableTargetenumeration,503EventArgsclass,490,494Exceptionclass,487FormatExceptionclass,47,487GCclass,480IAsyncResultinterface,324ICloneableinterface,463IComparableinterface,51,467IDisposableinterface,56,302,433,480IFormatProviderinterface,484IFormattableinterface,483IntPtrclass,418,433,442InvalidCastExceptionclass,86InvalidOperationExceptionclass,357,411,432,475MarshalByRefclass,382MarshalByRefObjectclass,68,381MissingMethodExceptionclass,75NonSerializedAttributeclass,458Objectclass,54,463ObjectDisposedExceptionclass,481OperatingSystemclass,500PlatformNotSupportedExceptionclass,346Randomclass,421SerializableAttributeclass,72,458,488,491Stringclass,463,484TimeSpanstructure,108,389Typeclass,52,319Versionclass,500INDEX556System.
Collectionsnamespace,134ArrayListclass,59,81,468deepcopying,464IComparerinterface,51,235,467IEnumerableinterface,471,475IEnumeratorinterface,410,471,475System.
Collections.
Genericnamespace,54,134Dictionaryclass,223genericcollections,54IComparerinterface,467IEnumerableinterface,471IEnumeratorinterface,471lackofbuilt-insynchronizationmechanisms,134System.
Collections.
Specializednamespace,134System.
ComponentModelnamespaceAsyncCompletedEventHandlerdelegate,341Componentclass,72,342,358RunInstallerAttributeclass,516Win32Exceptionclass,136System.
ConfigurationnamespaceConfigurationclass,309ConfigurationManagerclass,309ConnectionStringSettingsclass,309System.
Configuration.
InstallnamespaceInstallerclass,516InstallerCollectionclass,516System.
Datanamespace,328CommandTypeenumeration,312DataRowclass,332DataSetclass,71,328DataTableclass,319,329,332,382DbTypeenumeration,316IDataParameterinterface,315,318IDataParameterCollectioninterface,312IDbCommandinterface,311IDbConnectioninterface,301IDbTransactioninterface,312ParameterDirectionenumeration,316System.
Data.
CommonnamespaceDbConnectionStringBuilderclass,306DbProviderFactoryclass,316,329System.
Data.
Odbcnamespace,299OdbcCommandclass,311OdbcConnectionclass,301OdbcDataReaderclass,319OdbcFactoryclass,329OdbcParameterclass,315System.
Data.
OleDbnamespace,299OleDbCommandclass,311OleDbConnectionclass,301OleDbConnectionStringBuilderclass,307OleDbDataReaderclass,319OleDbFactoryclass,329OleDbParameterclass,315System.
Data.
OracleClientnamespace,299OracleClientFactoryclass,329OracleCommandclass,311OracleConnectionclass,301OracleConnectionStringBuilderclass,307OracleDataReaderclass,319OracleParameterclass,315System.
Data.
SqlClientnamespace,300SqlClientFactoryclass,329SqlCommandclass,311,324SqlConnectionclass,301,325SqlConnectionStringBuilderclass,307SqlDataReaderclass,319SqlDataSourceEnumeratorclass,331SqlParameterclass,315System.
Data.
SqlServerCenamespace,300SqlCeCommandclass,311SqlCeConnectionclass,301SqlCeDataReaderclass,319SqlCeParameterclass,315System.
DiagnosticsnamespaceConditionalAttributeclass,12Debugclass,15EventLogclass,504EventLogEntryTypeenumeration,504FileVersionInfoclass,152Processclass,135,442ProcessInfoclass,135ProcessStartInfoclass,433ProcessWindowStyleenumeration,136Traceclass,15System.
DrawingnamespaceGraphicsclass,284Imageclass,273Rectanglestruct,259Regionclass,259–260,263System.
Drawing.
Drawing2DnamespaceGraphicsPathclass,259–260,263System.
Drawing.
PrintingnamespacePrintDocumentclass,284PrinterSettingsclass,282System.
Drawing.
TextnamespaceInstalledFontCollectionclass,258System.
GC.
KeepAlive(mutex)statementCovington,MichaelA,141System.
GlobalizationnamespaceCultureInfoclass,484DateTimeFormatInfoclass,48System.
IOnamespaceBinaryReaderclass,36,158,344BinaryWriterclass,36,158Directoryclass,167–168DirectoryInfoclass,144,147,149,163DriveInfoclass,144Fileclass,167FileAttributesenumeration,144FileInfoclass,144,147,149,217FileLoadExceptionclass,19,400FileNotFoundExceptionclass,9,73FileStreamclass,58,156,158FileSystemWatcherclass,176IOExceptionclass,170MemoryStreamclass,36,464NotifyFiltersenumeration,177Pathclass,165,168–169,180INDEX557Streamclass,56,72,341,426,430StreamReaderclass,344StreamWriterclass,156TextReaderclass,72TextWriterclass,72System.
IO.
IsolatedStoragenamespaceIsolatedStorageFileclass,174IsolatedStorageFileStreamclass,174System.
IO.
PortsnamespaceSerialPortclass,179System.
Medianamespaceclassesforplayingsoundfiles,275SoundPlayerclass,275–276SystemSoundclass,275SystemSoundsclass,275System.
NetnamespaceCredentialCacheclass,350System.
NETnamespaceDnsclass,355HttpListenerclass,346HttpListenerContextclass,346System.
NetnamespaceHttpListenerExceptionclass,346System.
NETnamespaceHttpListenerPrefixCollectioncollection,346System.
NetnamespaceHttpListenerRequestclass,346HttpListenerResponseclass,346System.
NETnamespaceICredentialsByHostinterface,352System.
NetnamespaceIPAddressclass,357NetworkCredentialclass,350,376SocketPermissionclass,400WebClientclass,341,344WebExceptionclass,344WebPermissionclass,400System.
NETnamespaceWebRequestclass,72,344,349,376WebResponseclass,72,344,349System.
Net.
MailnamespaceAttachmentclass,353AttachmentCollectionclass,353MailAddressclass,353MailAddressCollectionclass,353MailMessageclass,352SmtpClientclass,352System.
Net.
NetworkInformationnamespaceIPGlobalPropertiesclass,337IPStatusenumeration,357NetworkChangeclass,339NetworkInterfaceclass,336NetworkInterfaceComponentenumeration,337NetworkInterfaceTypeenumeration,337OperationalStatusenumeration,337PhysicalAddressclass,337Pingclass,357PingCompletedEventHandlerdelegate,357PingOptionsclass,357PingReplyclass,357System.
Net.
SocketsnamespaceNetworkStreamclass,359,364TcpClientclass,359TcpListenerclass,359,363UdpClientclass,371System.
ReflectionnamespaceAssemblyclass,72,409AssemblyDelaySignAttributeclass,21AssemblyNameclass,46,72AssemblyVersionAttributeclass,18ConstructorInfoclass,87ICustomAttributeProviderinterface,93System.
Runtime.
InteropServicesnamespacecreatingRCW,450DllImportAttributeclass,439GuidAttributeclass,456Marshalclass,432,444StructLayoutAttributeclass,444System.
Runtime.
RemotingnamespaceObjectHandleclass,70RemotingConfigurationclass,381WellKnownObjectModeenumeration,385System.
Runtime.
Remotingnamespace.
LifetimeILeaseinterface,389System.
Runtime.
SerializationnamespaceIFormatterinterface,58ISerializableinterface,458,488,491OptionalFieldAttributeclass,459SerializationExceptionclass,81SerializationInfoclass,459StreamingContextclass,459System.
Runtime.
Serialization.
Formatters.
BinarynamespaceBinaryFormatterclass,58,464System.
Runtime.
Serialization.
Formatters.
SoapnamespaceSoapFormatterclass,58,205System.
Securitynamespace,404AllowPartiallyTrustedCallersAttributeclass,395PermissionSetclass,405SecureStringclass,136,432SecurityExceptionclass,400,404,407,414SecurityManagerclass,397,406SecurityPermissionclass,398System.
Security.
CryptographynamespaceDataProtectionScopeenumeration,436HashAlgorithmclass,164,422,425,430hashingalgorithmimplementations,423keyedhashingalgorithmimplementations,430KeyedHashAlgorithmclass,429–430MemoryProtectionScopeenumeration,436ProtectedDataclass,435ProtectedMemoryclass,435RandomNumberGeneratorclass,421RNGCryptoServiceProviderclass,421INDEX558System.
Security.
Cryptography.
X509CertificatesnamespaceClientCertificatescollection,376X509Certificate2class,350,376X509Certificate2UIclass,350X509CertificatesCollectionclass,352X509Storeclass,350,376System.
Security.
PermissionsnamespaceFileIOPermissionclass,403identitypermissiontypes,408PrincipalPermissionclass,414PrincipalPermissionAttributeclass,414SecurityActionenumeration,403SecurityPermissionclass,58,397System.
Security.
PolicynamespaceEvidenceclass,66,409evidencetypes,408PolicyExceptionclass,400,415System.
Security.
PrincipalnamespaceIIdentityinterface,411IPrincipalinterface,346,411,418PrincipalPolicyenumeration,415SecurityIdentifierclass,412WindowsBuiltInRoleenumeration,412WindowsIdentityclass,411,418WindowsPrincipalclass,411WindowsSecurityContextclass,419System.
ServiceProcessnamespaceServiceBaseclass,511ServiceProcessInstallerclass,516SessionChangeDescriptionclass,513System.
Textnamespace,157Encodingclass,33,158,353,424StringBuilderclass,31,88,428System.
Text.
RegularExpressionsnamespaceRegexclass,43,45RegexCompilationInfoclass,45RegexOptionsenumeration,45System.
ThreadingnamespaceAutoResetEventclass,120EventResetModeenumeration,121EventWaitHandleclass,120Interlockedclass,128ManualResetEventclass,120Monitorclass,116Mutexclass,124,140ParameterizedThreadStartdelegate,113Semaphoreclass,126Threadclass,415ThreadAbortExceptionclass,132ThreadStartclass,113ThreadStateenumeration,113ThreadStateExceptionclass,113Timeoutclass,108Timerclass,107,109TimerCallbackdelegate,107,109WaitCallbackdelegate,97WaitHandleclass,111,120,326WaitOrTimerCallbackdelegate,111System.
TimersnamespaceTimerclass,107,513System.
Windows.
FormsnamespaceApplicationclass,4AxHostcontrol,454classes,213CommonDialogclass,172Controlclass,265FolderBrowserDialogclass,172Formclass,4,387HelpProvidercomponent,252OpenFileDialogclass,172Panelcontrol,268PictureBoxcontrol,268PrintDialogclass,285PrintPreviewControlclass,292PrintPreviewDialogclass,292SaveFileDialogclass,172Timerclass,107TreeNodeclass,183System.
XmlnamespaceXmlDocumentclass,183,322XmlNodeclass,464XmlNodeListclass,191XmlNodeTypeenumeration,184XmlReaderclass,321System.
Xml.
Serializationnamespaceattributeclasses,205XmlSerializerclass,204System.
Xml.
XslnamespaceXslCompiledTransformclass,209SystemDirectorypropertyEnvironmentclass,500SystemOperatorvalueWindowsBuiltInRoleenumeration,413SystemSoundclassexample,275–276Playmethod,275System.
Medianamespace,275SystemSoundsclassAsteriskproperty,275System.
Medianamespace,275Szpuszta,MarioandRammer,IngoAdvanced.
NETRemoting,2ndedition,384TTableDirectvalueCommandTypeenumeration,312TableLayoutPanelcontainerColumnCountproperty,238GrowStyleproperty,238RowCountproperty,238Tagpropertyclassesthatprovide,217Controlclass,217TCPcommunicatingwith,359–363multithreadedTCPserverforasynchronouscommunications,363–371INDEX559TCPclienttemplatefor,362–363TCPservertemplatefor,360–362TcpClientclassSystem.
Net.
Socketsnamespace,359TcpListenerclassAcceptTcpClientmethod,360,363–364BeginAcceptTcpClientmethod,363–364EndAcceptTcpClientmethod,364System.
Net.
Socketsnamespace,359,363templatesXSLstylesheets,210temporaryfiles,169–170textfiles,readingandwriting,156–158TextpropertyFormclass,244TextvalueCommandTypeenumeration,312TextBoxclassconfiguringcontextmenufor,239findingallinstancesonaform,219restrictinginput,229–231TextBoxcontrolKeyPressevent,231providinginputerrorforwithErrorProvidercomponent,250TextChangedeventComboBoxcontrol,232TextReaderclassSystem.
IOnamespace,72TextWriterclassSystem.
IOnamespace,72ThreadclassAbortmethod,83,132creatingandcontrollingthreads,113creatingnewobject,113CurrentPrincipalproperty,415,418CurrentUICultureproperty,243IsAliveproperty,131Joinmethod,131ResetAbortmethod,132Startmethod,113,132System.
Threadingnamespace,415threadsynchronization,116thread-safetytestingforwithIsSynchronizedproperty,134ThreadAbortExceptionclass,132ExceptionStateproperty,132System.
Threadingnamespace,132ThreadPoolclassGetAvailableThreadsmethod,99QueueUserWorkItemmethod,97RegisterWaitForSingleObjectmethod,111SetMaxThreadsmethod,99threads,95–96creatingathread-safecollectioninstance,134–138executingamethodasynchronously,99–107ataspecifictime,109–111bysignalingaWaitHandleclass,111–113periodically,107–109usingnewthread,113–115usingThreadPoolclass,96–99knowingwhenathreadfinishes,130–132synchronizingaccesstoshareddata,128–130synchronizingexecutionofmultiplethreadsusingaMonitor,115–120usingaMutex,124–126usingaSemaphore,126–128usinganevent,120–124terminatingexecutionofthread,132–134ThreadStartclassSystem.
Threadingnamespace,113ThreadStartdelegate,113ThreadStateclassRunningmethod,113ThreadStateenumerationSystem.
Threadingnamespace,113ThreadStateExceptionclassSystem.
Threadingnamespace,113thumbnailsshowingforimage,273–275TickCountpropertyEnvironmentclass,500TimedOutvalueIPStatusenumeration,357TimeoutclassInfiniteproperty,108–109System.
Threadingnamespace,108TimeoutpropertySmtpClientclass,352WebRequestclass,344Timerclass,110Changemethod,108Disposemethod,108periodicexecutionofmethods,108System.
Threadingnamespace,107,109System.
Timersnamespace,107,513System.
Windows.
Formsnamespace,107TimerCallbackdelegate,108System.
Threadingnamespace,107,109times.
SeedatesandtimesTimeSpanstructure,110add,subtractandcomparedatesandtimes,49–51operatorssupportedby,49Systemnamespace,108,389TitlepropertyConsoleclass,29Tlbexp.
exe,455Tlbimp.
exe,277,451TopropertyMailMessageclass,353INDEX560ToArraymethodArrayListclass,52MemoryStreamclass,36Queuecollection,52Stackcollection,52ToBase64CharArraymethodConvertclass,38ToBase64StringmethodConvertclass,38ToBooleanmethodBitConverterclass,36ToInt32methodBitConverterclass,36tools,1TopIndexpropertyListBoxclass,228TopMostpropertyFormclass,442ToStringmethodBitConverterclass,38,427–428IFormattableinterface,484Objectclass,410PhysicalAddressclass,337SecureStringclass,432StringBuilderclass,31TotalFreeSpacepropertyDriveInfoclass,171TraceclassSystem.
Diagnosticsnamespace,15Transactionpropertycommandobjects,312TransformmethodXslCompiledTransformclass,209TransparentKeypropertyFormclass,264TreeNodeclass,154System.
Windows.
Formsnamespace,183Tagproperty,217TreeViewcontrolBeforeExpandevent,154Fillmethod,154showingaJITdirectorytree,154–156showingXMLdocumentstructure,183–187TypeclassEmptyTypesfield,88GetConstructormethod,87–88Missingfield,453Systemnamespace,52,319typeinformationretrieving,83–85TypeLibraryExporter.
SeeTlbexp.
exeTypeLibraryImporterutility.
SeeTlbimp.
exetypeofoperatordeterminingwhethercontrolisTextBox,219UUDPcommunicatingwith,371–374UdpClientclassSystem.
Net.
Socketsnamespace,371unarynegation(-)operatorsupportedbyTimeSpanandDateTimestructures,50unaryplus(+)operatorsupportedbyTimeSpanandDateTimestructures,50UnauthenticatedPrincipalvaluePrincipalPolicyenumeration,416UndomethodWindowsSecurityContextclass,419UnicodepropertyUnicodeEncodingclass,34UnicodestringBase64encodinganddecodingusingConvertclass,38UnicodeEncodingclassBigEndianUnicodeproperty,34GetEncodingmethod,34Unicodeproperty,34UnloadmethodAppDomainclass,83unmanagedcodeinteroperability,439callingafunctioninanunmanagedDLL,439–442callinganunmanagedfunctionthatusesacallback,447–448callinganunmanagedfunctionthatusesastructure,444–447exposing.
NETcomponentthroughCOM,455–456releasingCOMcomponentsquickly,452–453retrievinghandlesforcontrols,Windowsorfiles,442–444retrievingunmanagederrorinformation,448–450usingActiveXcontrolsin.
NETclients,454–455usingCOMcomponentsin.
NETclients,450–452usingoptionalparameters,453–454unmanagederrorsretrievinginformation,448–450unmanagedfunctionscallingfunctionthatusesacallback,447–448usingstructureparameters,444–447UnprotectmethodProtectedDataclass,435ProtectedMemoryclass,435SectionInformationclass,309UnregistermethodRegisteredWaitHandleclass,111UpvalueOperationalStatusenumeration,337uploadingmethodsWebClientclass,343UrlclassSystem.
Security.
Policynamespace,408UrlpropertyWebBrowsercontrol,254INDEX561UrlIdentityPermissionclassSystem.
Security.
Permissionsnamespace,408UseDefaultCredentialspropertyNetworkCredentialclass,376SmtpClientclass,352userinputreadingfromconsole,61–64UserpropertyHttpListenerContextclass,346UservalueWindowsBuiltInRoleenumeration,413User32.
dll,440UserDomainNamepropertyEnvironmentclass,500UserInteractivepropertyEnvironmentclass,500UserNamepropertyEnvironmentclass,500ProcessStartInfoclass,136usersimpersonatingaWindowsuser,418–421restrictingwhichusercanexecutecode,414–418UsersfieldRegistryKeyclass,509usingstatement,137constructingMonitorclassin,141Disposepattern,480UTF7propertyUTF7Encodingclass,34UTF7EncodingclassGetEncodingmethod,34UTF7property,34UTF8propertyUTF8Encodingclass,34UTF8EncodingclassGetEncodingmethod,34UTF8property,34VValidatemethodXmlDocumentclass,204validatinganinputcontrol,248–250validatinginputusingregularexpressions,41–44validationXMLdocumentsagainstschema,199–204ValidationEventHandlereventXmlReaderSettingsclass,200–201ValidOnpropertyAttributeUsageAttributeclass,91valueofcommand,210Valuepropertyparameterobjects,316XmlNodeclass,184XmlReaderclass,197valuetypesconvertingfrombytearrays,36convertingtobytearrays,36–38verifyingassembly'sstrongname,19strongnameassemblyhasnotbeenmodified,19–20VersionclassSystemnamespace,500VersionpropertyEnvironmentclass,500OperatingSystemclass,501VersionStringpropertyOperatingSystemclass,501VisualStudioApplicationSettings,226–227generatingRCWs,450-VrswitchStrongNametool,20-VuswitchStrongNametool,21WW3CDocumentObjectModel(DOM).
SeeDOM(W3CDocumentObjectModel)WaitmethodMonitorclass,117WaitAllmethodWaitHandleclass,121WaitAnymethodWaitHandleclass,121WaitCallbackdelegateSystem.
Threadingnamespace,97WaitForExitmethodProcessclass,137,139WaitHandleclass,111methodsforsynchronizingthreadexecution,121Mutexclassderivesfrom,124Semaphoreclassderivesfrom,126System.
Threadingnamespace,111,120,326waitingdeterminingifasynchronousmethodsarefinished,325WaitOnemethodWaitHandleclass,121WaitOrTimerCallbackdelegate,111System.
Threadingnamespace,111WarningvalueEventLogEntryTypeenumeration,504WAVfilesplaying,276–277webmethodcallingasynchronously,378–381webpagesdisplaying,254–256WebBrowserclassDocumentTextproperty,211WebBrowsercontrol,210displayingawebpage,254members,254–255INDEX562WebClientclassCancelAsyncmethod,342Certificatesproperty,350Credentialsproperty,350datadownloadmethods,341OpenReadmethod,344System.
Netnamespace,341,344uploadingmethods,343WebExceptionclassSystem.
Netnamespace,344WebPermissionclass,401System.
Netnamespace,400WebPermissionAttributeclass,401WebRequestclassCertificatesproperty,349ClientCertificatesproperty,376Createmethod,344Credentialsproperty,349–350,376GetResponsemethod,344System.
NETnamespace,72,344,349,376Timeoutproperty,344WebResponseclassGetResponseStreammethod,344System.
NETnamespace,72,344,349WellKnownObjectModeenumerationSystem.
Runtime.
Remotingnamespace,385values,385wildcardexpressionfindingfilesthatmatch,163–164Win32APIcorelibraries,440LogonUserfunction,419Win32APIfunctionsusingforwritingandreadingINIfiles,440Win32CryptoAPICryptGenRandomfunction,421Win32ExceptionclassSystem.
ComponentModelnamespace,136Win32_Printerclassmethods,298Pausemethod,295Resumemethod,295Win32_PrintJobclassPausemethod,295querying,295Resumemethod,295WinAPIfunctions,442WindowHeightpropertyConsoleclass,29Windowsapplicationcreatingfromcommandline,4–5example,5–7Windowseventlogwritinganeventto,504–505Windowsforms,213addingacontrolprogrammatically,214–216animatedsystemtrayicon,247–248autocompleteComboBox,232–234classes,213context-sensitivehelp,252–253creatinganimmovableform,244displayingawebpage,254–256drag-and-dropoperations,251–252findingallMDIchildforms,223–225forcingaListBoxtoscrolltomostrecentlyaddeditem,228–229layingoutcontrolsautomatically,238–239linkingdatatoacontrol,216–218makingaborderlessformmovable,244–247multilingualforms,241–244processallcontrolsonform,218–220restrictingTextBoxclassinput,229–231savingconfigurationsettingsforforms,225–228sortingaListViewbycolumn,235–238trackingvisibleformsinapplication,220–223usingpartofamainmenuforacontextmenu,239–240validatinganinputcontrol,248–250Windowsgroups,determiningmembershipof,411–414Windowsintegration,499accessingruntimeenvironmentinformation,499–503creatingashortcutonDesktoporStartmenu,518–520creatingaWindowsservice,511–516creatingaWindowsserviceinstaller,516–518readingandwritingtotheWindowsregistry,505–508retrievingthevalueofenvironmentvariable,503–504searchingtheWindowsregistry,508–511writinganeventtotheWindowseventlog,504–505Windowsregistryreadingandwritingto,505–508searching,508–511Windowsservice,creating,511–516WindowsServiceControlManager.
SeeSCMWindowsserviceinstallercreating,516–518WindowsBuiltInRoleenumerationSystem.
Security.
Principalnamespace,412values,413WindowsIdentityclassGetCurrentmethod,411–412Impersonatemethod,418–419implementsIIdentityinterface,412System.
Security.
Principalnamespace,411,418WindowsPrincipalclassimplementsIPrincipalinterface,412IsInRolemethod,411–412System.
Security.
Principalnamespace,411WindowsPrincipalvaluePrincipalPolicyenumeration,416WindowsSecurityContextclassSystem.
Security.
Principalnamespace,419Undomethod,419INDEX563WindowStylepropertyProcessStartInfoclass,136WindowWidthpropertyConsoleclass,29WM_CLOSEmessagepostedbyKillmethod,Processclass,138WorkingDirectorypropertyProcessStartInfoclass,136WrapContentspropertyFlowLayoutPanelcontainer,238WritemethodBinaryWriterclass,158StreamWriterclass,156WriteAttributeStringmethodXmlWriterclass,197WriteElementStringmethodXmlWriterclass,197WriteEndDocumentmethodXmlWriterclass,197WriteEndElementmethodXmlWriterclass,197WriteEntrymethodEventLogclass,504WriteLinemethodStreamWriterclass,156WritePrivateProfileStringfunction,440WriteStartDocumentmethodXmlWriterclass,197WriteStartElementmethodXmlWriterclass,197WritingSecureCode,2ndeditionLeBlanc,DavidandHoward,Michael,394writingXML.
SeeXMLprocessingWshShellclassCreateShortcutmethod,518SpecialFoldersproperty,518–519XX509Certificate2classSystem.
Security.
Cryptography.
X509Certificatesnamespace,350,376X509Certificate2UIclassSelectFromCollectionmethod,350System.
Security.
Cryptography.
X509Certificatesnamespace,350X509CertificatesCollectionclassSystem.
Security.
Cryptography.
X509Certificatesnamespace,352X509StoreclassCertificates.
Findmethod,350,376Certificates.
Selectmethod,376System.
Security.
Cryptography.
X509Certificatesnamespace,350,376XMLand.
NETFrameworkintegration,183XMLdocumentobtainingfromSQLServerquery,321–324XMLprocessing,183appendingnotesinXMLdocuments,189–191creatingschemasfor.
NETclasses,207–208findingelementswithXpathsearch,194–197findingspecificelementsbyname,191–192generatingaclassfromschemas,208–209insertingnodesintoXMLdocuments,187–189performinganXSLTransform,209–211readingandwritingwithoutloadingdocumentintomemory,197–199retrievingnodesfromspecificnamespace,192–194serializationwithcustomobjects,204–207showingdocumentstructureinTreeView,183–187validatingdocumentsagainstaschema,199–204XMLSchemaDefinition(XSD).
SeeXSDXMLSchemaDefinitionTool.
Seexsd.
exeXMLschemasdatatypes,200introduction,200XMLwebserviceavoidinghard-codingURL,374–376settingauthenticationcredentialsfor,376–378XmlAttributeclassbasicpropertiesderivedfromXmlNode,184System.
Xml.
Serializationnamespace,205XmlDocumentclass,184ChildNodesproperty,184CloneNodemethod,189createmethods,187creatingandinsertingnodes,188DocumentElementproperty,184GetElementsByTagNamemethod,191Loadmethod,184LoadXMLmethod,184moreflexibilitythanXmlTextReaderclass,198Savemethod,188Schemasproperty,204SelectNodesmethod,194SelectSingleNodemethod,194System.
Xmlnamespace,183,322Validatemethod,204XmlElementclassbasicpropertiesderivedfromXmlNode,184GetElementsByTagNamemethod,192System.
Xml.
Serializationnamespace,205XmlEnumclassSystem.
Xml.
Serializationnamespace,205XmlExceptionclass,201XmlIgnoreclassSystem.
Xml.
Serializationnamespace,205XmlNodeclass,191AppendChildmethod,187basicproperties,184castingtoXmlElementclass,192CloneNodemethod,191description,184InsertAftermethod,187INDEX564InsertBeforemethod,187SelectNodesmethod,194SelectSingleNodemethod,194System.
Xmlnamespace,464XmlNodeListclassSystem.
Xmlnamespace,191XmlNodeListcollectionChildNodesproperty,XmlNodeclass,184XmlNodeTypeenumerationSystem.
Xmlnamespace,184XmlReaderclassclosing,322Createmethod,197,200–201enforcingschemarules,201example,198–199GetAttributemethod,198HasAttributesproperty,198properties,197Readmethod,197,200ReadElementStringmethod,199readingXML,197ReadToDescendantmethod,199ReadToFollowingmethod,199ReadToNextSiblingmethod,199System.
Xmlnamespace,321XmlReaderSettingsclass,200ValidationEventHandlerevent,200–201XmlRootclassSystem.
Xml.
Serializationnamespace,205XmlSerializerclass,204,207–208requirementsforusing,205System.
Xml.
Serializationnamespace,204translatingXMLintoobjects,206XmlTextReaderclasslessflexibilitythanXmlDocumentclass,198XmlTextWriterclassWritemethods,197XmlWriterclass,211Createmethod,197example,198–199Writemethods,197XPathexpressionsyntaxtable,195XPathsearchfindingelements,194–197XSD(XMLSchemaDefinition),200xsd.
exe(XMLSchemaDefinitionTool),207XSLstylesheetstemplates,210applytemplatecommand,210valueofcommand,210XSLtransforms.
SeeXSLTXslCompiledTransformclass,210–211Loadmethod,209System.
Xml.
Xslnamespace,209Transformmethod,209XSLT(XSLtransforms)performing,209–211XSLTstylesheetexample,210XslTransformclass,210Yyieldbreakstatement,472yieldreturnstatement,472,475ZZoneclassSystem.
Security.
Policynamespace,408ZoneIdentityPermissionclassSystem.
Security.
Permissionsnamespace,408INDEX565

Asiayun:枣庄电信Asiayun美国Cera葵湾VPSvps月付,美国CERA VPS月付26元/年

亚洲云Asiayun怎么样?亚洲云成立于2021年,隶属于上海玥悠悠云计算有限公司(Yyyisp),是一家新国人IDC商家,且正规持证IDC/ISP/CDN,商家主要提供数据中心基础服务、互联网业务解决方案,及专属服务器租用、云服务器、云虚拟主机、专属服务器托管、带宽租用等产品和服务。Asiayun提供源自大陆、香港、韩国和美国等地骨干级机房优质资源,包括BGP国际多线网络,CN2点对点直连带宽以...

RAKsmart推出7.59美元/月,云服务器产品Cloud Server,KVM架构1核1G内存40G硬盘1M带宽基础配置

近期RAKsmart上线云服务器Cloud Server产品,KVM架构1核1G内存40G硬盘1M带宽基础配置7.59美元/月!RAKsmart云服务器Cloud Server位于美国硅谷机房,下单可选DIY各项配置,VPC网络/经典网络,大陆优化/精品网线路,1-1000Mbps带宽,支持Linux或者Windows操作系统,提供Snap和Backup。RAKsmart机房是一家成立于2012年...

Megalayer新加坡服务器国际带宽线路测评

前几天有关注到Megalayer云服务器提供商有打算在月底的时候新增新加坡机房,这个是继美国、中国香港、菲律宾之外的第四个机房。也有工单询问到官方,新加坡机房有包括CN2国内优化线路和国际带宽,CN2优化线路应该是和菲律宾差不多的。如果我们追求速度和稳定性的中文业务,建议还是选择CN2优化带宽的香港服务器。这里有要到Megalayer新加坡服务器国际带宽的测试服务器,E3-1230配置20M国际带...

ServiceControlManager为你推荐
编程小学生惊库克少儿编程,编程小将的班值得报吗?8080端口路由器要怎么设置才能使外网访问80;8080端口京沪高铁上市首秀我能买京沪高铁股票吗摩拜超15分钟加钱摩拜单车不是按骑行时间收费吗,我怎么只要开锁就要支付一元(而且只骑十几分钟)咏春大师被ko大师:咏春是不会败的 教练:能不偷袭吗,咏春拳教练刘祚天DJ是什么职业?月神谭给点人妖。变身类得小说。seo优化工具SEO优化工具哪个好用点啊?www4399com4399小游戏 请记住本站网站 4399.url铂金血痕“斑斑的血痕”是什么意思?
备案域名 如何注册网站域名 a5域名交易 yardvps 英语简历模板word 正版win8.1升级win10 免费美国空间 闪讯官网 空间购买 游戏服务器出租 中国linux 云服务器比较 博客域名 server2008 so域名 wannacry勒索病毒 卡巴斯基官方下载 let qq部落24-5 qq部落18-3 更多