diff --git a/References/CompactFramework/OpenNETCF.xml b/References/CompactFramework/OpenNETCF.xml new file mode 100644 --- /dev/null +++ b/References/CompactFramework/OpenNETCF.xml @@ -0,0 +1,6359 @@ + + + + OpenNETCF + + + + + Provides the abstract base class for all licenses. A license is granted to a specific instance of a component. + + + + + Initializes a new instance of the License class. + + + + + Provides properties and methods to add a license to a component and to manage a LicenseProvider. This class cannot be inherited. + + + + + Determines whether a valid license can be granted for the specified instance of the type. This method creates a valid License. + + A System.Type that represents the type of object that requests the License. + A License that is a valid license, or null if a valid license cannot be granted. + true if a valid license can be granted; otherwise, false. + + + + Determines whether a valid license can be granted for the specified type. + + A System.Type that represents the type of object that requests the License. + A valid OpenNETCF.ComponentModel.License. + + + + Determines whether a valid license can be granted for the specified type. + + A System.Type that represents the type of object that requests the License. + true if a valid license can be granted; otherwise, false. + + + + Provides the abstract base class for implementing a license provider. + + + + + Initializes a new instance of the OpenNETCF.ComponentModel.LicenseProvider class. + + + + + When overridden in a derived class, gets a license for an instance or type of component, when given a context and whether the denial of a license throws an exception. + + A System.Type that represents the component requesting the license. + + LicenseResourceType that represents the way the client license is supplied. + true if a System.ComponentModel.LicenseException should be thrown when the component cannot be granted a license; otherwise, false. + A valid OpenNETCF.ComponentModel.License. + + + + Specifies the OpenNETCF.ComponentModel.LicenseProvider to use with a class. This class cannot be inherited. + + + + + Provides an implementation of a OpenNETCF.ComponentModel.LicenseProvider. + + + + + Returns a license for the instance of the component, if one is available. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Provides access to information on a drive. + + This class models a drive and provides methods and properties to query for drive information. + Use to determine what drives are available, and the capacity and available free space on the drive. + + + + Provides access to information on the specified drive. + + + Use this class to obtain information on drives. + The drive name must be a valid Windows CE volume path e.g. "\Storage Card". + You cannot use this method to obtain information on drive names that are a null reference (Nothing in Visual Basic) or use UNC (\\server\share) paths. + The drive name cannot be a null reference (Nothing in Visual Basic). + + + + Returns a drive name as a string. + + The name of the drive. + + + + Retrieves the drive names of all logical drives on a computer. + + + + + + Gets the root directory of a drive. + + + + + Gets the manufacturer ID of the volume (if available) + + + + + Gets the serial number of the volume (if available) + + + + + Indicates the amount of available free space on a drive. + + + + + Gets the total amount of free space available on a drive. + + + + + Gets the total size of storage space on a drive. + + + + + CreateFile file access flags + + + + + Read access to the file. Data can be read from the file. + + + + + Write access to the file. Data can be written to the file. + + + + + Execute permission. The file can be executed. + + + + + All permissions. + + + + + Specifies which action to take on files that exist, and which action to take when files do not exist. + + + + + Creates a new file. + The function fails if the specified file already exists. + + + + + Creates a new file. + If the file exists, the function overwrites the file and clears the existing attributes. + + + + + Opens the file. + The function fails if the file does not exist. + + + + + Opens the file, if it exists. + If the file does not exist, the function creates the file as if dwCreationDisposition were CreateNew. + + + + + Opens the file. + Once opened, the file is truncated so that its size is zero bytes. The calling process must open the file with at least Write access. + + + + + CreateFile file flags + + + + + Instructs the system to write through any intermediate cache and go directly to disk. + The system can still cache write operations, but cannot lazily flush them. + + + + + This flag is not supported; however, multiple read/write operations pending on a device at a time are allowed. + + + + + Indicates that the file is accessed randomly. + The system can use this as a hint to optimize file caching. + + + + + + + + + + + + + + + Represents the method that will handle the , , or event of a class. + + The source of the event. + The that contains the event data. + + + + + + Provides data for the directory events: , , . + + The FileSystemEventArgs class is passed as a parameter to event handlers for these events: + The event occurs when changes are made to the size, system attributes, last write time, last access time, or security permissions in a file or directory in the specified of a . + The event occurs when a file or directory in the specified of a is created. + The event occurs when a file or directory in the specified of a is deleted. For more information, see . + + + + Initializes a new instance of the class. + + One of the values, which represents the kind of change detected in the file system. + The root directory of the affected file or directory. + The name of the affected file or directory. + + + + Gets the type of directory event that occurred. + + One of the values that represents the kind of change detected in the file system. + + + + + + Gets the fully qualifed path of the affected file or directory. + + The path of the affected file or directory. + + + + Gets the name of the affected file or directory. + + The name of the affected file or directory. + + + + Specifies changes to watch for in a file or folder. + + You can combine the members of this enumeration to watch for more than one kind of change. For example, you can watch for changes in the size of a file or folder, and for changes in security settings. This raises an event anytime there is a change in size or security settings of a file or folder. + + + + + + + + + + The attributes of the file or folder. + + + + + The time the file or folder was created. + + + + + The name of the directory. + + + + + The name of the file. + + + + + The date the file or folder was last opened. + + + + + The date the file or folder last had anything written to it. + + + + + The security settings of the file or folder. + + + + + The size of the file or folder. + + + + + Represents the method that will handle the event of a class. + + The source of the event. + The that contains the event data. + + + + + + + Provides data for the Renamed event. + + + + + Gets the previous fully qualified path of the affected file or directory. + + + + + Gets the old name of the affected file or directory. + + + + + Changes that might occur to a file or directory. + + Each member is associated with an event in . + For more information on the events, see , , and . + + + + The creation, deletion, change, or renaming of a file or folder. + + + + + The change of a file or folder. The types of changes include: changes to size, attributes, security settings, last write, and last access time. + + + + + The creation of a file or folder. + + + + + The deletion of a file or folder. + + + + + The renaming of a file or folder. + + + + + Native wave in/out methods. + + + + + Set the volume for the default waveOut device (device ID = 0) + + + + + + Set the volume for an already-open waveOut device + + + + + + + Get the current volume setting for the default waveOut device (device ID = 0) + + + + + + Set the current volume setting for an already-open waveOut device + + + + + + + Executes an operation on a separate thread. + + + + + Initializes a new instance of the BackgroundWorker class. + Call from the desktop code as the other ctor is not good enough + Call it passing in a created control e.g. the Form + + + + + Initializes a new instance of the BackgroundWorker class. + + + + + Raises the BackgroundWorker.ProgressChanged event. + + The percentage, from 0 to 100, of the background operation that is complete. + + + + Raises the BackgroundWorker.ProgressChanged event. + + The percentage, from 0 to 100, of the background operation that is complete. + The state object passed to BackgroundWorker.RunWorkerAsync(System.Object). + + + + Starts execution of a background operation. + + + + + Starts execution of a background operation. + + A parameter for use by the background operation to be executed in the BackgroundWorker.DoWork event handler. + + + + Requests cancellation of a pending background operation. + + + + + Occurs when is called. + + + + + Occurs when is called. + + + + + Occurs when the background operation has completed, has been cancelled, or has raised an exception. + + + + + Gets a value indicating whether the application has requested cancellation of a background operation. + + + + + Gets or sets a value indicating whether the BackgroundWorker object can report progress updates. + + + + + Gets or sets a value indicating whether the BackgroundWorker object supports asynchronous cancellation. + + + + + Gets a value indicating whether the System.ComponentModel.BackgroundWorker is running an asynchronous operation. + Returns: + true, if the System.ComponentModel.BackgroundWorker is running an + asynchronous operation; otherwise, false. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The exception thrown when using invalid arguments that are enumerators. + + + + + Initializes a new instance of the class without a message. + + + + + Initializes a new instance of the class with the specified message. + + The message to display with this exception. + + + + Initializes a new instance of the class with the specified detailed description and the specified exception. + + A detailed description of the error. + A reference to the inner exception that is the cause of this exception. + + + + Initializes a new instance of the class with a message generated from the argument, the invalid value, and an enumeration class. + + The name of the argument that caused the exception. + The value of the argument that failed. + A that represents the enumeration class with the valid values. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Class used for generating Cyclic Redundancy Check (CRC) Hashes + + + + + Generates a CCITT32 CRC of the data + + Data to generate a CRC for + The CRC + + + + Generates a CRC using a common polynomial for the next closest bitlength above that specified. + For example, a bit length of 13 through 16 will use the CCITT16 polynomial masking off bits necessary to maintain the specified bitlength. + + Data to generate a CRC for + The offset into the source data at which to start the CRC + The number of bytes in the source data to analyze + The CRC + + + + + Generates a CRC using a common polynomial for the next closest bitlength above that specified. + For example, a bit length of 13 through 16 will use the CCITT16 polynomial masking off bits necessary to maintain the specified bitlength. + + Data to generate a CRC for + Length, in bits, of the polynomial to use + The CRC + + + + Generates a CRC using a common polynomial for the next closest bitlength above that specified. + For example, a bit length of 13 through 16 will use the CCITT16 polynomial masking off bits necessary to maintain the specified bitlength. + + Data to generate a CRC for + The offset into the source data at which to start the CRC + The number of bytes in the source data to analyze + Standard polynomial to use for the CRC + CRC seed value + The CRC + + + + + Generates a CRC using a common polynomial for the next closest bitlength above that specified. + For example, a bit length of 13 through 16 will use the CCITT16 polynomial masking off bits necessary to maintain the specified bitlength. + + Data to generate a CRC for + The offset into the source data at which to start the CRC + The number of bytes in the source data to analyze + Length, in bits, of the polynomial to use + Custom polynomial to use for the CRC + CRC seed value + The CRC + + + + + Generates a CRC for the data in an open data stream + + Stream to use as a source for the data + + Custom Polynomial or CRCPolynomial to use in the CRC + The data's CRC + + + + Use the static methods of this class to output data to a device's debug port. Messages will be sent only in Debug builds, allowing developers to easily compile out messaging. + + + This is the equivalent of the unmanaged DEBUGMSG macro and applies only to generic CE devices. + Most commercial Pocket PC and SmartPhone devices do not expose a debug port. + + + + + If condition evaluates to true and the current assembly is a Debug build, message will be output on the device's debug port. + + When true output will be sent to the debug port + Text to output + + + + If condition evaluates to true and the current assembly is a Debug build, the result from obj.ToString will be output on the device's debug port. + + When true output will be sent to the debug port + Object to call ToString() on + + + + If condition evaluates to true and the current assembly is a Debug build, message will be output on the device's debug port followed by a carriage return and new line. + Lines output with WriteLine are also affected by calls to Indent or Unindent. + + When true output will be sent to the debug port + Text to output + + + + Increases the indent level used by WriteLine by two spaces + + + + + Decreases the indent level used by WriteLine by two spaces + + + + + Summary description for DiagnosticsConfigurationHandler. + + + + + + + + + + + + + + Event arguments for the last entry written to the log EntryWrittenEventArgs. + + + + + The entry that was just written to the log + + + + + Default constructor + + + + + The event log entry that was written to the log + + + + + + + + + + + + Class is similar to the System.Diagnostics.EventLog in the full framework with a few differences. + 1. Since CE.Net and PPC have no event log we write the log to the application root directory as an XML file + 2. Every Application will have it's own log. There will not be one log system/device wide + 3. Attempted to keep as close as possible to the full framework class but some things are missing + + + + + Overloaded constructor were a custom IEventLogWriter can be specified + + Indicates the log item + Indicates what logged the event + Custom event log writter which implements IEventLogWriter + + + + Default constructor. + + Indicates the log item + Indicates what logged the event + + + + + Overloaded constructor + + Indicates the log item + Indicates what logged the event + + + + + + + Removes an event log from the local file. + + The name of the log to delete. + + + + Searches for all event logs on the local file and creates an array of EventLog objects that contain the list. + + An array of type EventLog that represents the logs on the local computer. + + + + Determines whether the log exists on the local file. + + The name of the log to search for. + The full framework defines this method as static. Since this is not a system wide log but an application specific log this method will only search for a Log Item with the current XML file. + + + + Removes all entries from the event log. + + + + + Closes the event log and releases read and write handles. + + + + + Writes an information type entry, with the given message text, to the event log. + + The string to write to the event log. + + + + Writes an error, warning, information, success audit, or failure audit entry with the given message text to the event log. + + The string to write to the event log. + One of the EventLogEntryType values. + + + + Writes an information type entry with the given message text to the event log, using the specified event source. + + The source by which the application is registered. + The string to write to the event log. + + + + Writes an entry with the given message text and application-defined event identifier to the event log. + + The string to write to the event log. + One of the EventLogEntryType values. + The application-specific identifier for the event. + + + + Writes an error, warning, information, success audit, or failure audit entry with the given message text to the event log, using the specified event source. + + The source by which the application is registered. + The string to write to the event log. + One of the EventLogEntryType values. + + + + Writes an entry with the given message text, application-defined event identifier, and application-defined category to the event log. + + The string to write to the event log. + One of the EventLogEntryType values. + The application-specific identifier for the event. + The application-specific subcategory associated with the message. + + + + Writes an entry with the given message text and application-defined event identifier to the event log, using the specified registered event source. + + The source by which the application is registered on the specified computer. + the string to write to the event log. + One of the EventLogEntryType values. + The application-specific identifier for the event. + + + + Writes an entry with the given message text, application-defined event identifier, and application-defined category to the event log, and appends binary data to the message. + + the string to write to the event log. + One of the EventLogEntryType values. + The application-specific identifier for the event. + The application-specific subcategory associated with the message. + An array of bytes that holds the binary data associated with the entry. + + + + Writes an entry with the given message text, application-defined event identifier, and application-defined category to the event log, using the specified registered event source. The category can be used to filter events in the log. + + The source by which the application is registered on the specified computer. + the string to write to the event log. + One of the EventLogEntryType values. + The application-specific identifier for the event. + The application-specific subcategory associated with the message. + + + + Writes an entry with the given message text, application-defined event identifier, and application-defined category to the event log (using the specified registered event source) and appends binary data to the message. + + The source by which the application is registered on the specified computer. + the string to write to the event log. + One of the EventLogEntryType values. + The application-specific identifier for the event. + The application-specific subcategory associated with the message. + An array of bytes that holds the binary data associated with the entry. + + + + Checks to see if the source is set + + + + + + Creates the event log Writer object + + + + + Notifies any listeners that an entry was written to the log + + the entry item that was written to the log + + + + Notifies any listeners that the log was cleared + + + + + Notifies any listeners that log display name was changed + + + + + Notifies any listeners that log was closed + + + + + Notifies any listeners that log was changed + + + + + Notifies any listeners that source was changed + + + + + Notifies any listeners that a log was added to the event log + + + + + Handler for the entry written event in the eventLogWriter + + + + + + + event listeners when the eventlog collection is updated + + + + + + + Public event to notify listeners that the log has changed + + + + + Public event to notify listeners that the log display name has changed + + + + + Public event to notify listeners that the log has been closed + + + + + Public event to notify listeners that the log has been cleared + + + + + Public event to notify listeners that the source has changed + + + + + Notifies listeners if there is a new log in the eventLog + + + + + Occurs when an entry is written to an event log on the local computer + + + + + Gets or sets a value indicating whether the EventLog receives EntryWritten event notifications. + + + + + Gets the contents of the event log. + + + + + Gets or sets the name of the log to read from or write to. + + + + + Gets the event log's friendly name. + + + + + Gets or sets the source name to register and use when writing to the event log. + + + + + Gets the file name the log is stored under. Defaults to the calling assembly name with ".Log" appended + + + + + Gets the path of where the log file is stored + + + + + Gets the eventLogWriterType + + + + + Summary description for EventLogEntry. + + + + + Gets the ID value that uniquely identifies the item in the log + + + + + Gets the text associated with the CategoryNumber for this entry. + + The application-specific category text. + + Each application (event source) can define its own numbered categories and the text strings to which they are mapped. The text strings associated with the category are stored in the XML Log. + + + + + Gets the entry's category number. + + The application-specific category number for this entry . + Each application (event source) can define its own numbered categories and the text strings to which they are mapped. + + + + Gets the binary data associated with the entry. + + An array of bytes that holds the binary data associated with the entry. + Getting this property creates an array that holds a copy of the entry's event-specific binary data. Event-specific data is sometimes used to store information that the application will process independently of the Event Viewer, for example, to make reports from the log file. + + + + Gets the event type of this entry. + + The EventLogEntryType that indicates the event type associated with the entry in the event log. This is usually used to indicate the severity of the event log entry. + + + + Gets the application-specific event identifier of this event entry. + + The application-specific identifier for the event. + Event identifiers, together with the event source, uniquely identify an event. + + + + Gets the index of this entry in the event log. + + The index of this entry in the event log. + This number is not necessarily zero based. + + + + Gets the name of the computer on which this entry was generated. + + The name of the computer that contains the event log. + + + + Gets the localized message associated with this event entry. + + + + + Gets the name of the application that generated this event. + + The event source indicates what logged the event. It is often the name of the application, or the name of a subcomponent of the application if the application is large. Applications and services usually write to (and therefore are sources for) the Application log or a custom log. Device drivers usually write to the System log. + + + + Gets the local time at which this event was generated. + + A DateTime that represents the local time at which this event was generated. + This member holds the time that an event was generated. This might not be the same as the time when the event information was written to the event log. For the latter, read the TimeWritten property.There’s almost always going to be a lag between the time something happens and the time it is logged, if only milliseconds. Usually, it is more important to know when the event was generated, unless you want to see if there is a significant lag in logging. That can happen if your log files are on a different server and you are experiencing a bottleneck. + + + + Gets the local time at which this event was written to the log. + + A DateTime that represents the local time at which this event was written to the log. + This member holds the time that an event's information is written to the event log. This might not be the same time as when the event was generated. For the latter, read the TimeGenerated property. + + + + Gets the name of the user who's responsible for this event. + + + + + Summary description for EventLogEntryCollection. + + + + + Overloaded method. To clear the event log use EventLog.Clear(); + + + + + + Overloaded method. + + + + + + + Add an eventlog entry to the collection + + + + + + + Gets the EventLogEntry by index + + + + + + + + + + Specifies the event type of an event log entry. + + + The type of an event log entry is used to indicate the severity of an event log entry. + Each event must be of a single type, which the application indicates when it reports the event. + + + + + An error event. This indicates a significant problem the user should know about; usually a loss of functionality or data. + + + + + A failure audit event. This indicates a security event that occurs when an audited access attempt fails; for example, a failed attempt to open a file. + + + + + An information event. This indicates a significant, successful operation. + + + + + A success audit event. This indicates a security event that occurs when an audited access attempt is successful; for example, logging on successfully. + + + + + A warning event. This indicates a problem that is not immediately significant, but that may signify conditions that could cause future problems. + + + + + Defines the type of Event log writers available + + + + + + + + + + + + + + + Defines the interface that will be used by EventLog to write to a log + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Implements writing to the event log using XML + + + + + The Xml document representing the log + + + + + The current eventlog node which contains all Log nodes + + + + + The current log node that is being written to + + + + + The default Xml for a new log + + + + + Creates the XML document to store the event logs + + + + + Loads the eventlog collection + + + + + Creates a log file on the system + + + + + Loads the source, log and EventLog nodes + + + + + Loads the eventlog entry collection + + + + + Create the log node and adds it to the nodeEventLog + + + + + Retrieves and event log node by logName + + The name of the log node + The XmlNode containing the log items or null if not found + + + + Changes an attribute in the specified node + + + + + Retreives the attribute in the specified node + + + + The value of the attribute or null if not found + + + + Saves the logfile + + + + + Writes an entry to the log file + + + + + + + + + + + Raises the eventLogEntryWritten event to listeners + + + + + + Provides version information for a physical file in storage memory. + + + + + Returns a representing the version information associated with the specified file. + + The fully qualified path and name of the file to retrieve the version information for. + A containing information about the file. + If the file information was not found, the contains only the name of the file requested. + The file specified cannot be found. + + + + Gets the name of the file that this instance of describes. + + The name of the file described by this instance of . + + + + Gets the major part of the version number. + + A value representing the major part of the version number. + Typically, a version number is displayed as "major number.minor number.build number.private part number". + A file version number is a 64-bit number that holds the version number for a file as follows: + The first 16 bits are the number. + The next 16 bits are the number. + The third set of 16 bits are the number. + The last 16 bits are the number. + This property gets the first set of 16 bits. + + + + Gets the minor part of the version number. + + A value representing the minor part of the version number of the file. + Typically, a version number is displayed as "major number.minor number.build number.private part number". + A file version number is a 64-bit number that holds the version number for a file as follows: + The first 16 bits are the number. + The next 16 bits are the number. + The third set of 16 bits are the number. + The last 16 bits are the number. + This property gets the second set of 16 bits. + + + + Gets the build number of the file. + + A value representing the build number of the file. + Typically, a version number is displayed as "major number.minor number.build number.private part number". + A file version number is a 64-bit number that holds the version number for a file as follows: + The first 16 bits are the number. + The next 16 bits are the number. + The third set of 16 bits are the number. + The last 16 bits are the number. + This property gets the third set of 16 bits. + + + + Gets the file private part number. + + A value representing the file private part number. + Typically, a version number is displayed as "major number.minor number.build number.private part number". + A file version number is a 64-bit number that holds the version number for a file as follows: + The first 16 bits are the number. + The next 16 bits are the number. + The third set of 16 bits are the number. + The last 16 bits are the number. + This property gets the last set of 16 bits. + + + + Gets the major part of the version number for the product this file is associated with. + + A value representing the major part of the product version number. + Typically, a version number is displayed as "major number.minor number.build number.private part number". + A product version number is a 64-bit number that holds the version number for a product as follows: + The first 16 bits are the number. + The next 16 bits are the number. + The third set of 16 bits are the number. + The last 16 bits are the number. + This property gets the first set of 16 bits. + + + + Gets the minor part of the version number for the product the file is associated with. + + A value representing the minor part of the product version number. + Typically, a version number is displayed as "major number.minor number.build number.private part number". + A product version number is a 64-bit number that holds the version number for a product as follows: + The first 16 bits are the number. + The next 16 bits are the number. + The third set of 16 bits are the number. + The last 16 bits are the number. + This property gets the second set of 16 bits. + + + + Gets the build number of the product this file is associated with. + + A value representing the build part of the product version number. + Typically, a version number is displayed as "major number.minor number.build number.private part number". + A product version number is a 64-bit number that holds the version number for a product as follows: + The first 16 bits are the number. + The next 16 bits are the number. + The third set of 16 bits are the number. + The last 16 bits are the number. + This property gets the third set of 16 bits. + + + + Gets the private part number of the product this file is associated with. + + A value representing the private part of the product version number. + Typically, a version number is displayed as "major number.minor number.build number.private part number". + A product version number is a 64-bit number that holds the version number for a product as follows: + The first 16 bits are the number. + The next 16 bits are the number. + The third set of 16 bits are the number. + The last 16 bits are the number. + This property gets the last set of 16 bits. + + + + This class enables you to turn on and off the creation of log files with diagnostic information about interoperability, loading the application, and networking + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + If there are two applications writing log files to the same directory, the older log file will always get overwritten with the newer log file when the second application is run. This key can be used as a differentiator for the log files. + + + + + This key is useful if you want to run the same application but have separate logs. This adds the process ID to the log file name, so that each run of the same application creates a new log file with a different name. + + + + + + + + + + Provides helper methods for processes. + + + + + This function returns the process identifier of the calling process. + + The return value is the process identifier of the calling process. + + + + Gets a new component and associates it with the currently active process. + + A new component associated with the process resource that is running the calling application. + Use this method to create a new Process instance and associate it with the process resource on the local computer. + + + + This function returns the thread identifier, which is used as a handle of the calling thread. + + The thread identifier of the calling thread indicates success. + + + + This function returns a pseudohandle for the current thread. + + The return value is a pseudohandle for the current thread. + +

A pseudohandle is a special constant that is interpreted as the current thread handle.

+

The calling thread can use this handle to specify itself whenever a thread handle is required.This handle has the maximum possible access to the thread object.

+

The function cannot be used by one thread to create a handle that can be used by other threads to refer to the first thread. The handle is always interpreted as referring to the thread that is using it.

+

The pseudohandle need not be closed when it is no longer needed. Calling the CloseHandle function with this handle has no effect.

+
+
+ + + Use the static methods of this class to output data to a device's debug port. Messages will be sent in Debug or Release builds + + + This is the equivalent of the unmanaged RETAILMSG macro and applies only to generic CE devices. + Most commercial Pocket PC and SmartPhone devices do not expose a debug port. + + + + + If condition evaluates to true then message will be output on the device's debug port. + + When true output will be sent to the debug port + Text to output + + + + If condition evaluates to true then, the result from obj.ToString will be output on the device's debug port. + + When true output will be sent to the debug port + Object to call ToString() on + + + + If condition evaluates to true then message will be output on the device's debug port followed by a carriage return and new line. + Lines output with WriteLine are also affected by calls to Indent or Unindent. + + When true output will be sent to the debug port + Text to output + + + + Increases the indent level used by WriteLine by two spaces + + + + + Decreases the indent level used by WriteLine by two spaces + + + + + Provides a set of methods and properties that you can use to accurately measure elapsed time. + + + + + Indicates whether the timer is based on a high-resolution performance counter. This field is read-only. + + + + + Gets the current number of ticks in the timer mechanism. + + A long integer representing the tick counter value of the underlying timer mechanism. + + + + Initializes a new Stopwatch instance, sets the elapsed time property to zero, and starts measuring elapsed time. + + A Stopwatch that has just begun measuring elapsed time. + + + + Gets the frequency of the timer as the number of ticks per second. This field is read-only. + + + + + Initializes a new instance of the Stopwatch class. + + + + + Stops time interval measurement and resets the elapsed time to zero. + + + + + Starts, or resumes, measuring elapsed time for an interval. + + + + + Stops measuring elapsed time for an interval. + + + + + Gets a value indicating whether the Stopwatch timer is running. + + + + + Gets the total elapsed time measured by the current instance. + + + + + Gets the total elapsed time measured by the current instance, in milliseconds. + + + + + Gets the total elapsed time measured by the current instance, in timer ticks. + + + + + Provides helper functions for Enumerations. + + Extends the System.Enum Class. + System.Enum Class + + + + Retrieves the name of the constant in the specified enumeration that has the specified value. + + An enumeration type. + The value of a particular enumerated constant in terms of its underlying type. + A string containing the name of the enumerated constant in enumType whose value is value, or null if no such constant is found. + enumType is not an System.Enum. -or- value is neither of type enumType nor does it have the same underlying type as enumType. + The following code sample illustrates the use of GetName (Based on the example provided with desktop .NET Framework): + [Visual Basic] + Imports System + + Public Class GetNameTest + + Enum Colors + Red + Green + Blue + Yellow + End Enum 'Colors + + Enum Styles + Plaid + Striped + Tartan + Corduroy + End Enum 'Styles + + Public Shared Sub Main() + MessageBox.Show("The 4th value of the Colors Enum is " + [OpenNETCF.Enum].GetName(GetType(Colors), 3)) + MessageBox.Show("The 4th value of the Styles Enum is " + [OpenNETCF.Enum].GetName(GetType(Styles), 3)) + End Sub 'Main + + End Class 'GetNameTest + [C#] + using System; + + public class GetNameTest + { + enum Colors { Red, Green, Blue, Yellow }; + enum Styles { Plaid, Striped, Tartan, Corduroy }; + + public static void Main() + { + MessageBox.Show("The 4th value of the Colors Enum is " + OpenNETCF.Enum.GetName(typeof(Colors), 3)); + MessageBox.Show("The 4th value of the Styles Enum is " + OpenNETCF.Enum.GetName(typeof(Styles), 3)); + } + } + + System.Enum.GetName Method + + + + Retrieves an array of the names of the constants in a specified enumeration. + + An enumeration type. + A string array of the names of the constants in enumType. The elements of the array are sorted by the values of the enumerated constants. + enumType parameter is not an System.Enum + The follow example shows how to enumerate the members of the System.DayOfWeek enumeration by adding them to a ComboBox:- + [Visual Basic] + Dim thisDOW As New DayOfWeek + For Each thisDOW In OpenNETCF.Enum.GetValues(Type.GetType("System.DayOfWeek")) + ComboBox1.Items.Add(thisDOW) + Next + [C#] + foreach(DayOfWeek thisdow in OpenNETCF.Enum.GetValues(typeof(DayOfWeek))) + { + comboBox1.Items.Add(thisdow); + } + System.Enum.GetNames Method + + + + Returns the underlying type of the specified enumeration.> + + An enumeration type. + The underlying of enumType. + System.Enum.GetUnderlyingType Method + + + + Retrieves an array of the values of the constants in a specified enumeration. + + An enumeration type. + An System.Array of the values of the constants in enumType. The elements of the array are sorted by the values of the enumeration constants. + enumType parameter is not an System.Enum + System.Enum.GetValues Method + + + + Returns an indication whether a constant with a specified value exists in a specified enumeration. + + An enumeration type. + The value or name of a constant in enumType. + true if a constant in enumType has a value equal to value; otherwise, false. + System.Enum.IsDefined Method + + + + Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object. + + The of the enumeration. + A string containing the name or value to convert. + An object of type enumType whose value is represented by value. + + + + Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object. + A parameter specifies whether the operation is case-sensitive. + + The of the enumeration. + A string containing the name or value to convert. + If true, ignore case; otherwise, regard case. + An object of type enumType whose value is represented by value. + enumType is not an . + -or- value is either an empty string ("") or only contains white space. + -or- value is a name, but not one of the named constants defined for the enumeration. + System.Enum.Parse Method + + + + Returns an instance of the specified enumeration set to the specified value. + + An enumeration. + The value. + An enumeration object whose value is value. + System.Enum.ToObject Method + + + + Converts the specified value of a specified enumerated type to its equivalent string representation according to the specified format. + + + The valid format values are: + "G" or "g" - If value is equal to a named enumerated constant, the name of that constant is returned; otherwise, the decimal equivalent of value is returned. + For example, suppose the only enumerated constant is named, Red, and its value is 1. If value is specified as 1, then this format returns "Red". However, if value is specified as 2, this format returns "2". + "X" or "x" - Represents value in hexadecimal without a leading "0x". + "D" or "d" - Represents value in decimal form. + "F" or "f" - Behaves identically to "G" or "g", except the FlagsAttribute is not required to be present on the Enum declaration. + "V" or "v" - If value is equal to a named enumerated constant, the value of that constant is returned; otherwise, the decimal equivalent of value is returned. + + The enumeration type of the value to convert. + The value to convert. + The output format to use. + A string representation of value. + + + + Extends the functionality of + + System.Environment Class + + + + Gets the path to the system special folder identified by the specified enumeration. + + An enumerated constant that identifies a system special folder. + The path to the specified system special folder, if that folder physically exists on your computer; otherwise, the empty string (""). + A folder will not physically exist if the operating system did not create it, the existing folder was deleted, or the folder is a virtual directory, such as My Computer, which does not correspond to a physical path. + System.Environment.GetFolderPath Method + + + + Returns an array of string containing the names of the logical drives on the current computer. + + An array of string where each element contains the name of a logical drive. + + + + Gets the newline string defined for this environment. + + A string containing "\r\n". + The property value is a constant customized specifically for the current platform. + This value is automatically appended to text when using WriteLine methods, such as Console.WriteLine. + System.Environment.NewLine Property + + + + Gets the fully qualified path of the system directory. + + A string containing a directory path. + An example of the value returned is the string "\Windows". + System.Environment.SystemDirectory Property + + + + Gets the name of this local device. + + + + + Gets the user name of the person who started the current thread. + + Supported only on Windows Mobile platforms. + + + + Gets a object that contains the version of the Smart Device Framework in use. + + + + + Gets the amount of physical memory mapped to the process context. + + + + + Gets an object that contains the current platform identifier and version number. + + + + + Gets the number of milliseconds elapsed since the system started. + + + + + Gets a object that describes the major, minor, build, and revision numbers of the common language runtime. + + + + + Specifies enumerated constants used to retrieve directory paths to system special folders. + + Not all platforms support all of these constants. + System.Environment.SpecialFolder Enumeration + + + + The directory that contains the user's program groups. + + + + + The directory that serves as a common repository for documents. + + + + + The "My Documents" folder. + + + + + The directory that serves as a common repository for the user's favorite items. + + + + + The directory that corresponds to the user's Startup program group. + The system starts these programs whenever a user starts Windows CE. + + + + + The directory that contains the user's most recently used documents. + Not supported in Windows Mobile. + + + + + The directory that contains the Start menu items. + + + + + The "My Music" folder. + Supported only on Windows Mobile. + + + + + The directory used to physically store file objects on the desktop. + Do not confuse this directory with the desktop folder itself, which is a virtual folder. + Not supported in Windows Mobile. + + + + + The Fonts folder. + + + + + The directory that serves as a common repository for application-specific data for the current user. + + + + + The Windows folder. + + + + + The program files directory. + + + + + The "My Pictures" folder. + Supported only on Windows Mobile. + + + + + Provides additional file related functionality. + + + + + Maximum length of Filepath string (in characters) + + + + + Represents an invalid native operating system handle. + + + + + Opens a text file, reads all text from the file, and then closes the file. + + The file to open for reading. + A string containing all of the file. + + + + Opens a file, reads all text from the file with the specified encoding, and then closes the file. + + The file to open for reading. + The encoding applied to the contents of the file. + A string containing all of the file. + + + + Opens a text file, reads all lines of the file, and then closes the file. + + The file to open for reading. + A string array containing all of the file. + + + + Opens a file, reads all lines of the file with the specified encoding, and then closes the file. + + The file to open for reading. + The encoding applied to the contents of the file. + A string array containing all of the file. + + + + Creates a new file, writes the specified string array to the file, and then closes the file. + If the target file already exists, it is overwritten. + + The file to write to. + The string to write to the file. + + + + Creates a new file, writes the specified string array to the file using the specified encoding, and then closes the file. + If the target file already exists, it is overwritten. + + The file to write to. + The string to write to the file. + An object that represents the encoding to apply to the string array. + + + + Creates a new file, write the specified string array to the file, and then closes the file. + If the target file already exists, it is overwritten. + + The file to write to. + The string array to write to the file. + + + + Creates a new file, writes the specified string array to the file using the specified encoding, and then closes the file. + If the target file already exists, it is overwritten. + + The file to write to. + The string array to write to the file. + An object that represents the character encoding applied to the string array. + + + + Gets the FileAttributes of the file on the path. + + + The path to the file. + The FileAttributes of the file on the path, or -1 if the path or file is not found. + path is empty, contains only white spaces, or contains invalid characters. + The specified path, file name, or both exceed the system-defined maximum length. For example, on Windows-based platforms, paths must be less than 248 characters, and file names must be less than 260 characters. + path is in an invalid format. + The specified path is invalid, such as being on an unmapped drive. + + + + Sets the specified FileAttributes of the file on the specified path. + + The path to the file. + The desired FileAttributes, such as Hidden, ReadOnly, Normal, and Archive. + + + + Sets the date and time, in coordinated universal time (UTC), that the file was created. + The file for which to set the creation date and time information. + A DateTime containing the value to set for the creation date and time of path. This value is expressed in UTC time. + + + + Sets the date and time, in local time, that the file was created. + The file for which to set the creation date and time information. + A DateTime containing the value to set for the creation date and time of path. This value is expressed in local time. + + + + Sets the date and time, in coordinated universal time (UTC), that the file was last accessed. + The file for which to set the creation date and time information. + A DateTime containing the value to set for the last access date and time of path. This value is expressed in UTC time. + + + + Sets the date and time, in local time, that the file was last accessed. + The file for which to set the creation date and time information. + A DateTime containing the value to set for the last access date and time of path. This value is expressed in local time. + + + + Sets the date and time, in coordinated universal time (UTC), that the file was last updated or written to. + The file for which to set the creation date and time information. + A DateTime containing the value to set for the last write date and time of path. This value is expressed in UTC time. + + + + Sets the date and time, in local time, that the file was last updated or written to. + The file for which to set the creation date and time information. + A DateTime containing the value to set for the last write date and time of path. This value is expressed in local time. + + + + Wrapper around the CreateFile API + + Path to the file or CE port name + Specifies the type of access to the object. An application can obtain read access, write access, read-write (All) access. + Specifies how the object can be shared. + Specifies which action to take on files that exist, and which action to take when files do not exist. + Specifies the file attributes and flags for the file. + Handle to the created file + + + + This function writes data to a file. + + WriteFile starts writing data to the file at the position indicated by the file pointer. After the write operation has been completed, the file pointer is adjusted by the number of bytes actually written. + Handle to the file to be written to. The file handle must have been created with GENERIC_WRITE access to the file. + Buffer containing the data to be written to the file. + Number of bytes to write to the file. + Number of bytes written by this function call. WriteFile sets this value to zero before doing any work or error checking. + + + + This function reads data from a file, starting at the position indicated by the file pointer. After the read operation has been completed, the file pointer is adjusted by the number of bytes actually read. + + Handle to the file to be read. The file handle must have been created with GENERIC_READ access to the file. This parameter cannot be a socket handle. + Buffer that receives the data read from the file. + Number of bytes to be read from the file. + number of bytes read. ReadFile sets this value to zero before doing any work or error checking. + + + + This function closes an open object handle + + Object Handle, Could be any of the following Objects:- Communications device, Mutex, Database, Process, Event, Socket, File or Thread + + + + Listens to the file system change notifications and raises events when a directory, or file in a directory, changes. + + + The FileSystemWatcher requires the system to have aygshell.dll. Also, this class is not thread-safe. + + + + + Initializes a new instance of the FileSystemWatcher class. + + + + + Initializes a new instance of the FileSystemWatcher class, given the specified directory to monitor. + + The directory to monitor, in standard or Universal Naming Convention (UNC) notation. + + + + Initializes a new instance of the FileSystemWatcher class, given the specified directory and type of files to monitor. + + The directory to monitor, in standard or Universal Naming Convention (UNC) notation. + The type of files to watch. For example, "*.txt" watches for changes to all text files. + + + + Releases the unmanaged resources used by the and optionally releases the managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Occurs when a file or directory in the specified is created. + + + + + Occurs when a file or directory in the specified is changed. + + + + + Occurs when a file or directory in the specified is deleted. + + + + + Occurs when a file or directory in the specified is renamed. + + + + + Gets or sets a value indicating whether the component is enabled. + + + + + Gets or sets a value indicating whether subdirectories within the specified path should be monitored. + + + + + Gets or sets the type of changes to watch for. + + + + + Gets or sets the path of the directory to watch. + + + + + Gets or sets the filter string, used to determine what files are monitored in a directory. + + + + + This class is used to access memory mapped addresses + You can cause serious problems using this class without knowing what you're doing! + We reiterate the statement in our license that OpenNETCF provides absolutely no warranty on this code and you use it at your own risk + + + + + An accessor class to a physical memory address. + + Physical Address to map + Minimum size of the desired allocation + The physical address does not need to be aligned as the PhysicalAddressPointer will handle alignment + The size value will aligned to the next multiple of 4k internally, so the actual allocation may be larger than the requested value + + + + An accessor class to a physical memory address. + + Physical Address to map + Minimum size of the desired allocation + The physical address does not need to be aligned as the PhysicalAddressPointer will handle alignment + The size value will aligned to the next multiple of 4k internally, so the actual allocation may be larger than the requested value + + + + Write an array of bytes to the mapped physical address + + data to write + + + + Write a 32-bit value to the mapped address + + data to write + + + + Write a 32-bit value to the mapped address + + data to write + offset to start writing the data + + + + Write a 16-bit value to the mapped address + + data to write + + + + Write an 8-bit value to the mapped address + + data to write + + + + Read a series of bytes from the mapped address + + number of bytes to read + read data + + + + Read a 32-bit value from the mapped address + + read value + + + + Read a 32-bit value from the mapped address + + read value + + + + Read a 16-bit value from the mapped address + + read value + + + + Read an 8-bit value from the mapped address + + read value + + + + Gets an IntPtr for the base of the PhysicalAddressPointer + + PhysicalAddressPointer to get the address of + IntPtr of the base virtual address + + + + Use this abstract base class to create wrappers around Stream Interface + Drivers that are not supported by the CF + + + + + Internal native handle to the open port + + + + + Create an instance of the StreamInterfaceDriver class + + Name of port (prefix and index) to open + + + + Create an instance of the StreamInterfaceDriver class + + + + + Destructor + + + + + Open the driver + + File Access (Read, Write or Both) + Share Mode (Read, Write or both) + + + + Read data from the driver + + The number of bytes requested. + A byte array returned by the driver + + + + Write data to the driver + + Data to write + Number of bytes actually written + + + + Write data to the driver + + Data to write + Number of bytes from passed in buffer to write + Number of bytes actually written + + + + Call a device specific IOControl + + The IOCTL code + Data to pass into the IOCTL + Data returned by the IOCTL + Data returned by the call + + + + This function moves the file pointer of an open file + + + Bytes to move - a positive number moves forward, a negative moves backward + Starting position from where distance is measured + New file position + The current file position can be queried using seekFrom(0, MoveMethod.CurrentPosition) + + + + Close the driver + + + + + Dispose + + + + + Call a device specific IOControl + + The IOCTL code + Data to pass into the IOCTL + + + + Call a device specific IOControl + + The IOCTL code + Data to pass into the IOCTL + + + + + + + + Call a device specific IOControl + + + + + Call a device specific IOControl + + + + + Call a device specific IOControl + + + + + Call a device specific IOControl + + + + + Call a device specific IOControl + + The IOCTL code + + + + Gets or Sets the Port Name + + + + + Gets the underlying native port Handle + + + + + Returns true if the port is open, otherwise returns false + + + + + Represents a complex number of the format real + (imaginary * sqrt(-1)) + + + + + + + + + + + + + + + Provides constants and static methods for trigonometric, logarithmic, and other common mathematical functions. + + + + + + Returns the hyperbolic sine of the specified angle. + + + + + + + Returns the hyperbolic cosine of the specified angle. + + + + + + + Returns the hyperbolic tangent of the specified angle. + + + + + + + Produces the full product of two 32-bit numbers. + + + + + + + + Represents the ratio of the circumference of a circle to its diameter, specified by the constant, p. + + + + + Represents the natural logarithmic base, specified by the constant, e. + + + + + Mathematical constants. + + + + + Planck's Constant (Js) + + + + + Avogadro's Constant (1/mol) + + + + + Boltzmann's Constant (J/K) + + + + + Atomic Mass Constant (kg) + + + + + Newtonian Constant of Gravitation (m3 kg^-1 s^-2) + + + + + Electron mass (kg) + + + + + Proton mass (kg) + + + + + Electron Volt (J) + + + + + Faraday Constant (C/mol) + + + + + Molar Gas Constant (J /(mol*K)) + + + + + Rydberg Constant (1 / m) + + + + + Stefan-Boltzman Constant (W m^-2 K^-4) + + + + + Speed of Light in vacuum (m/s) + + + + + Magnetic constant (N A^-2) + + + + + Elementaty Charge (C) + + + + + Controls playback of a sound from a .wav file. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class, attaches the .wav file within the specified . + + + + + + Initializes a new instance of the class and attaches the specified .wav file. + + The location of a .wav file to load. + The string passed to the soundLocation parameter must be a path to a .wav file. + If the path is invalid, the object will still be constructed, but subsequent calls to a load or play method will fail. + + + + Plays the .wav file using a new thread. + + The Play method plays the sound using a new thread. + If the .wav file has not been specified or it fails to load, the Play method will play the default beep sound. + + + + Plays the .wav file using the UI thread. + + The PlaySync method uses the current thread to play a .wav file, preventing the thread from handling other messages until the load is complete. + After a .wav file is successfully loaded from a Stream or URL path, future calls to playback methods for the SoundPlayer object will not need to reload the .wav file until the path for the sound changes. + If the .wav file has not been specified or it fails to load, the PlaySync method will play the default beep sound. + + + + Plays and loops the .wav file using a new thread and loads the .wav file first if it has not been loaded. + + The PlayLooping method plays and loops the sound using a new thread. + If the .wav file has not been specified or it fails to load, the PlayLooping method will play the default beep sound. + + + + Stops playback of the sound if playback is occurring. + + + + + Gets or sets the file path of the .wav file to load. + + The file path from which to load a .wav file, or if no file path is present. + The default is . + + + + Gets or sets the from which to load the .wav file. + + This property is set to null when the property is set to a new and valid sound location. + + + + Stores additional data. + + + + + Represents a standard system sound. + + + + + Play this sound. + + + + + Set the volume for the default waveOut device (device ID = 0) + + + + + + Get the current volume setting for the default waveOut device (device ID = 0) + + + + + + Retrieves sounds associated with a set of Windows system sound event types. + + + + + Gets the sound associated with the Beep program event. + + + + + Gets the sound associated with the Asterisk program event. + + + + + Gets the sound associated with the Exclamation program event. + + + + + Gets the sound associated with the Question program event. + + + + + Gets the sound associated with the Hand program event. + + + + + Handles generic wave device Open event + + + + + Handles generic wave device Close event + + + + + Handles generic wave device Operation Complete event (Record/Play) + + + + + Handles wave device Recording Complete event + + + + + Flags for the supported audio formats for recording and playback devices + + + + + Format is not valid + + + + + Mono, 8 bit, 11025 Hz + + + + + Stereo, 8 bit, 11025 Hz + + + + + Mono, 16 bit, 11025 Hz + + + + + Stereo, 16 bit, 11025 Hz + + + + + Mono, 8 bit, 22050 Hz + + + + + Stereo, 8 bit, 22050 Hz + + + + + Mono, 16 bit, 22050 Hz + + + + + Stereo, 16 bit, 22050 Hz + + + + + Mono, 8 bit, 44100 Hz + + + + + Stereo, 8 bit, 44100 Hz + + + + + Mono, 16 bit, 44100 Hz + + + + + Stereo, 16 bit, 44100 Hz + + + + + Base class for Player/Recorder + + + + + Wave Audio player class. Supports PCM waveform playback from the stream + + + + + Constructs Player object on the default wave device + + + + + Constructs Player object on the given wave device + + Wave device ID + + + + Restart a paused wave file + + + + + Pause Play + + + + + Stop Play + + + + + Plays waveform contained in the given stream. Stream is exepcted to contain full riff header + + Stream with the waveform + + + + Raised when the wave device is opened + + + + + Raised when the wave device is closed + + + + + Raised when the wave device has finished playback + + + + + Number of the output wave devices in the system + + + + + Gets or sets playback volume on the current wave device + + + + + True, if the player is currently playing. False otherwise + + + + + Recorder class. Wraps low-level WAVE API for recording purposes + + + + + Creates Recorder object and attaches it to the default wave device + + + + + Creates Recorder object and attaches it to the given wave device + + Wave device ID + + + + A list of PCM wave formats supported by the default device + + SoundFormats collection + + + + A list of PCM wave formats supported by the given device + + Wave device + SoundFormats collection + + + + Stop recording operation currently in progress. + Throws an error if no recording operation is in progress + + + + + Record sound data for specified number of seconds at 11025 sps and 1 channel + The stream will be a properly formatted RIFF file + + Stream into which recorded samples are written + Seconds of data to record + + + + Record sound data for specified number of seconds using given wave format + The stream will be a properly formatted RIFF file + + Stream into which recorded samples are written + Seconds of data to record + Sound format to record in. + + + + Creates a recording buffer + + + new buffer as WaveHeader + + + + Handles the event that is fired when wave device is successfully opened + + + + + Handles the event that is fired when wave device is successfully closed + + + + + Handles the event that is fired when recording is stopped (on timer or by calling Stop method + + + + + Whether the Recorder is presently recording + + + + + Number of wave input devices in the system + + + + + Internal wrapper around WAVEHDR + Facilitates asynchronous operations + + + + + Creates WaveHeader and fills it with wave data + + wave data bytes + length of Wave data + + + + Constructor for WaveHeader class + Allocates a buffer of required size + + + + + + Contains helper functions for the class. + + + + + + Gets the process executable. + + The that is the process executable. + + + + AdvancedMarshaler class implementation. + + + + + Copy bytes from a user array to the internal data array + and then call the internal Deserialize routine + + The byte array to be copied to the + internal array and then deserialized + + + + MarshallingMethods class implementation. + + + + + CustomMarshalAsAttribute implementaion. + + + + + Represents a wrapper class for handle resources. + + + + + Initializes a new instance of the CriticalHandle class with the specified invalid handle value. + + The value of an invalid handle (usually 0 or -1). + + + + Specifies the handle to be wrapped. + + + + + Marks the handle for releasing and freeing resources. + + + + + When overridden in a derived class, executes the code required to free the handle. + + + + + + Sets the handle to the specified pre-existing handle. + + + + + + Marks a handle as invalid. + + + + + Marks the handle for releasing and freeing resources. + + + + + Frees all resources associated with the handle. + + + + + Gets a value indicating whether the handle is closed. + + true if the handle is closed; otherwise, false. + + + + When overridden in a derived class, gets a value indicating whether the handle value is invalid. + + true if the handle is valid; otherwise, false. + + + + This structure is a 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601. + + + + + Specifies the low 32 bits of the FILETIME. + + + + + Specifies the high 32 bits of the FILETIME. + + + + + Provides a collection of methods for allocating unmanaged memory, copying unmanaged memory blocks, and converting managed to unmanaged types, as well as other miscellaneous methods used when interacting with unmanaged code. + + + + + + Reads an IntPtr from an unmanaged pointer. + + The address in unmanaged memory from which to read. + The offset from the ptr where the IntPtr is located. + The IntPtr read from the ptr parameter. + + + + Reads a 32-bit unsigned integer from unmanaged memory. + + The base address in unmanaged memory from which to read. + An additional byte offset, added to the ptr parameter before reading. + The 32-bit unsigned integer read from the ptr parameter. + + + + + + + + + + + + Reads a string from an unmanaged pointer. + + The address in unmanaged memory from which to read. + The offset from the ptr where the string is located. + Length in characters. + The string read from the ptr parameter. + + + + Allocates a managed System.String, copies a specified number of characters from an unmanaged ANSI string into it, and widens each ANSI character to Unicode. + + The address of the first character of the unmanaged string. + + The byte count of the input string to copy. + A managed System.String that holds a copy of the native ANSI string. + + + + Copies all characters up to the first null from an unmanaged ANSI string to a managed System.String. Widens each ANSI character to Unicode. + + The address of the first character of the unmanaged string. + A managed object that holds a copy of the unmanaged ANSI string. + + + + Allocates a managed and copies all characters up to the first null character from a string stored in unmanaged memory into it. + + The address of the first character. + A managed string that holds a copy of the unmanaged string. + + + + Reads a single char from an unmanaged pointer. + + The address in unmanaged memory from which to read. + The offset from the ptr where the char is located. + The char read from the ptr parameter. + + + + Reads a byte array from an unmanaged pointer. + + The address in unmanaged memory from which to read. + The offset from the ptr where the byte array is located. + The length of the byte array to read. + The byte array read from the ptr parameter. + + + + + + + + + + + + Reads a bool from an unmanaged pointer. + + The address in unmanaged memory from which to read. + The offset from the ptr where the bool is located. + The bool read from the ptr parameter. + + + + Writes an IntPtr value to unmanaged memory. + + The address in unmanaged memory from which to write. + The offset of the IntPtr from the ptr. + The value to write. + + + + Writes a UInt32 value to unmanaged memory. + + The base address in unmanaged memory from which to write. + An additional byte offset, added to the ptr parameter before writing. + The value to write. + + + + Writes a 16-bit unsigned integer value to unmanaged memory. + + The base address in unmanaged memory from which to write. + An additional byte offset, added to the ptr parameter before writing. + The value to write. + + + + Copies the contents of a managed into unmanaged memory, converting into ANSI format as it copies. + + A managed string to be copied. + The address, in unmanaged memory, to where s was copied, or 0 if a null reference (Nothing in Visual Basic) string was supplied. + + + + Copies the contents of a managed into unmanaged memory. + + A managed string to be copied. + The address, in unmanaged memory, to where s was copied, or 0 if a null reference (Nothing in Visual Basic) string was supplied. + + + + Writes a single char value to unmanaged memory. + + The address in unmanaged memory from which to write. + The offset of the char from the ptr. + The value to write. + + + + Writes a byte array to unmanaged memory. + + The address in unmanaged memory from which to write. + The offset of the byte array from the ptr. + The value to write. + + + + Writes a 64-bit unsigned integer value to unmanaged memory. + + The address in unmanaged memory from which to write. + An additional byte offset, added to the ptr parameter before writing. + The value to write. + + + + Writes a bool value to unmanaged memory. + + The address in unmanaged memory from which to write. + The offset of the bool from the ptr. + The value to write. + + + + Converts a time_t value to a DateTime value. + + The time_t value to convert. + A DateTime value equivalent to the time_t suppled. + + + + Returns the length of the string at the pointer + + The pointer to the string to measure. + The length of the string at the pointer. + + + + Returns the instance handle (HINSTANCE) for the specified module. + + The whose HINSTANCE is desired. + The HINSTANCE for m; -1 if the module does not have an HINSTANCE. + + + + Sets a region of unmanaged memory to a specified value + + IntPtr address of the start of the region to set + The value to set for each byte in the reagion + Number of bytes to set + Thrown if writing to destination for length bytes would be an invalid memory access + + + + Sets a region of unmanaged memory to a specified value + + IntPtr address of the start of the region to set + The value to set for each byte in the reagion + Number of bytes to set + when true the function verifies that the requiested write operation is safe + Thrown if writing to destination for length bytes would be an invalid memory access + + + + Copies data from an unmanaged memory pointer to another unmanaged memory pointer + + The memory pointer to copy from. + The memory pointer to copy to. + The number of bytes to copy + Thrown if either the requested write or read for length bytes would be an invalid memory access + + + + Copies data from an unmanaged memory pointer to another unmanaged memory pointer + + The memory pointer to copy from. + The memory pointer to copy to. + The number of bytes to copy + When true the function verifies that the requiested write and read operations are safe + Thrown if either the requested write or read for length bytes would be an invalid memory access + + + + Checks to determine if a write to an unmanaged memory pointer for a specied number of bytes is a safe operation + + Unmanaged memory pointer to check + Number of bytes to check + Returns true if a write of the specifed length is safe, otherwise false + + + + Checks to determine if a read from an unmanaged memory pointer for a specied number of bytes is a safe operation + + Unmanaged memory pointer to check + Number of bytes to check + Returns true if a read from the specifed length is safe, otherwise false + + + + Represents a wrapper class for operating system handles. + + + + + Specifies the handle to be wrapped. + + + + + Initializes a new instance of the SafeHandle class with the specified invalid handle value. + + The value of an invalid handle (usually 0 or -1). + true to reliably let SafeHandle release the handle during the finalization phase; otherwise, false (not recommended). + + + + Marks the handle for releasing and freeing resources. + + + + + Returns the value of the field. + + + + + + When overridden in a derived class, executes the code required to free the handle. + + + + + + Sets the handle to the specified pre-existing handle. + + + + + + Marks a handle as invalid. + + + + + Marks the handle for releasing and freeing resources. + + + + + Frees all resources associated with the handle. + + + + + Gets a value indicating whether the handle is closed. + + true if the handle is closed; otherwise, false. + + + + When overridden in a derived class, gets a value indicating whether the handle value is invalid. + + true if the handle is valid; otherwise, false. + + + + Represents the base class from which all asymmetric key exchange deformatters derive. + + + + + Initializes a new instance of AsymmetricKeyExchangeDeformatter. + + + + + When overridden in a derived class, extracts secret information from the encrypted key exchange data. + + + + + + + When overridden in a derived class, sets the private key to use for decrypting the secret information. + + + + + + When overridden in a derived class, gets or sets the parameters for the asymmetric key exchange. + + + + + Represents the base class from which all asymmetric key exchange formatters derive. + + + + + Initializes a new instance of AsymmetricKeyExchangeFormatter + + + + + When overridden in a derived class, creates the encrypted key exchange data. + + + + + + + When overridden in a derived class, creates the encrypted key exchange data. + + + + + + + + When overridden in a derived class, sets the public key to use for encrypting the secret information. + + + + + + When overridden in a derived class, gets the parameters for the asymmetric key exchange. + + + + + Represents the abstract base class from which all classes that derive byte sequences of a specified length inherit. + + + + + Initializes a new instance of the DeriveBytes class. + + + + + When overridden in a derived class, returns pseudo-random key bytes. + + The number of pseudo-random key bytes to generate + A byte array filled with pseudo-random key bytes. + + + + When overridden in a derived class, resets the state of the operation. + + + + + Computes a Hash-based Message Authentication Code (HMAC) using the SHA1 hash function. + + + Based on comments and commented-out code in the original implemenation of this class + I'm not certain it even functions. I'm no crypto expert, so I don't know how to test it + - ctacke + + + + + Represents the abstract class from which all implementations of keyed hash algorithms must derive + + + + + Initializes a new instance of KeyedHashAlgorithm + + + + + Gets or sets the key to be used in the hash algorithm + + + + + Initializes an implementation of HMACSHA1 + + + + + Initializes a new instance of the HMACSHA1 class + + + + + Initializes a new instance of the HMACSHA1 class + + + + + + Computes the hash value for the input data + + + + + + + Gets or sets the key to be used in the hash algorithm + + + + + Gets the value of the computed hash code + + + + + Gets the size of the computed hash code in bits + + + + + MissingMethodException. call AcquireContext instead + + + + + INVALID_PARAMETER. no need to ever call this + + + + + INVALID_PARAMETER + + + + + BAD_DATA + + + + + INVALID_PARAMETER + + + + + The CryptMemAlloc function allocates memory for a buffer. + It is used by all Crypt32.lib functions that return allocated buffers. + + Number of bytes to be allocated. + Returns a pointer to the buffer allocated. + If the function fails, NULL is returned. + + + + The CryptMemFree function frees memory allocated by + CryptMemAlloc or CryptMemRealloc. + + Pointer to the buffer to be freed. + + + + The CryptMemRealloc function frees the memory currently allocated for a buffer + and allocates memory for a new buffer. + + Pointer to a currently allocated buffer. + Number of bytes to be allocated. + Returns a pointer to the buffer allocated. + If the function fails, NULL is returned. + + + + INVALID_PARAMETER. call SetProvider instead + + + + + INVALID_PARAMETER. call Context.AcquireContext with minimal values instead + + + + + works by calling EnumProviders. otherwise INVALID_PARAMETER + + + + + Computes a Message Authentication Code (MAC) using TripleDES for the input data CryptoStream + + + + + Initializes an implementation of MACTripleDES + + + + + Initializes a new instance of the MACTripleDES class + + + + + Initializes a new instance of the MACTripleDES class + + + + + + Overloaded. Computes the hash value for the input data + + + + + + + Gets or sets the key to be used in the hash algorithm + + + + + Gets the value of the computed hash code + + + + + Gets the size of the computed hash code in bits + + + + + Derives a key from a password + + + + + Initializes a new instance of the PasswordDeriveBytes class + + + + + + + Initializes a new instance of the PasswordDeriveBytes class + + + + + + + + + Derives a cryptographic key from the PasswordDeriveBytes object. + + + If the keySize parameter is set to 0, the default key size for the specified algorithm is used. + + The algorithm name for which to derive the key. + The hash algorithm name to use to derive the key. + The size of the key to derive (in bits). + The initialization vector (IV) to use to derive the key. + The derived key. + + + + Returns pseudo-random key bytes. + + The number of pseudo-random key bytes to generate. + A byte array filled with pseudo-random key bytes. + + + + Resets the state of the operation. + + + + + Gets or sets the name of the hash algorithm for the operation + + + + + Gets or sets the number of iterations for the operation. + + + + + Gets or sets the key salt value for the operation. + + + + + Specifies the scope of the data protection to be applied by + the method + + + This enumeration is used with the and methods to protect + data through encryption. + + + + + Specifies that the protected data is associated with the current user. + Only threads running under the current user context can unprotect the data. + + + + + Specifies that the protected data is associated with the machine context. + Any process running under Admin credentials on the computer can unprotect data. + + + + + Contains methods for protecting and unprotecting data. This class cannot be inherited. + + + The class consists of two wrappers for the unmanaged Data Protection API (DPAPI) methods, + and . + These two methods can be used to protect and unprotect data such as passwords, keys, + and connection strings. + + + + + Protects the userData parameter and returns a byte array. + + Byte array containing data to be protected. + Additional byte array used to encrypt the data. + Value from the enumeration. + A byte array representing the encrypted data. + + This method can be used to protect data such as passwords, keys, or connection strings. + The optionalEntropy parameter enables you to use additional information to protect the data. + This information must also be used when unprotecting the data using the method. + + + + + Unprotects the encryptedData parameter and returns a byte array. + + Byte array containing data encrypted with the method + Additional byte array that was used to encrypt the data. + Value from the enumeration + A byte array representing the unprotected data. + + This method can be used to unprotect data that was encrypted using the Protect method. + The optionalEntropy parameter, if used during encryption, must be supplied to unencrypt the data. + + + + + Decrypts the PKCS #1 key exchange data + + + + + Initializes a new instance of the RSAPKCS1KeyExchangeDeformatter class. + + + + + Initializes a new instance of the RSAPKCS1KeyExchangeDeformatter class. + + + + + + Extracts secret information from the encrypted key exchange data. + + The key exchange data within which the secret information is hidden + The secret information derived from the key exchange data. + + + + Sets the private key to use for decrypting the secret information. + + The instance of the RSA algorithm that holds the private key. + + + + Gets the parameters for the PKCS #1 key exchange. + + + + + Gets or sets the random number generator algorithm to use in the creation of the key exchange. + + + + + Creates the PKCS#1 key exchange data using RSA. + + + + + Initializes a new instance of the RSAPKCS1KeyExchangeFormatter class. + + + + + Initializes a new instance of the RSAPKCS1KeyExchangeFormatter class. + + The instance of the RSA algorithm that holds the public key + + + + Creates the encrypted key exchange data + + The secret information to be passed in the key exchange + The encrypted key exchange data to be sent to the intended recipient + + + + Creates the encrypted key exchange data + + The secret information to be passed in the key exchange + This parameter is not used in the current version + The encrypted key exchange data to be sent to the intended recipient + + + + Sets the public key to use for encrypting the key exchange data + + The instance of the RSA algorithm that holds the public key + + + + Gets or sets the random number generator algorithm to use in the creation of the key exchange. + + + + + Gets the parameters for the PKCS #1 key exchange + + An XML string containing the parameters of the PKCS #1 key exchange operation + + + + Indicates whether an is reset automatically or manually. + + + + + When signaled, the resets automatically after releasing a single thread. + If no threads are waiting, the EventWaitHandle remains signaled until a thread blocks, and resets after releasing the thread. + + + + + When signaled, the releases all waiting threads, and remains signaled until it is manually reset. + + + + + Represents a thread synchronization event. + + + + + Opens an existing named synchronization event. + + The name of a system event. + A object that represents the named system event. + name is a zero-length string. + -or- + name is longer than 260 characters. + name is a null reference (Nothing in Visual Basic). + The named system event does not exist. + + + + Sets the state of the event to nonsignaled, causing threads to block. + + true if the function succeeds; otherwise, false. + + + + Sets the state of the event to signaled, allowing one or more waiting threads to proceed. + + true if the function succeeds; otherwise, false. + + + + Initializes a newly created object, specifying whether the wait + handle is initially signaled, and whether it resets automatically or manually. + + true to set the initial state to signaled, false to set it to nonsignaled. + An EventResetMode value that determines whether the event resets automatically or manually. + + + + Initializes a newly created object, specifying whether the wait handle is initially signaled, whether it resets automatically or manually, and the name of a system synchronization event. + + true to set the initial state to signaled, false to set it to nonsignaled. + An Threading.EventResetMode value that determines whether the event resets automatically or manually. + The name of a system-wide synchronization event. + + + + Initializes a newly created object, specifying whether the wait handle is initially signaled, whether it resets automatically or manually, the name of a system synchronization event, and a bool variable whose value after the call indicates whether the named system event was created. + + true to set the initial state to signaled, false to set it to nonsignaled. + An Threading.EventResetMode value that determines whether the event resets automatically or manually. + The name of a system-wide synchronization event. + When this method returns, contains true if the calling thread was granted initial ownership of the named system event; otherwise, false. This parameter is passed uninitialized. + + + + When overridden in a derived class, blocks the current thread until the current receives a signal. + + true if the current instance receives a signal. if the current instance is never signaled, never returns. + + + + When overridden in a derived class, blocks the current thread until the current receives a signal, using 32-bit signed integer to measure the time interval and specifying whether to exit the synchronization domain before the wait. + + The number of milliseconds to wait, or Threading.Timeout.Infinite (-1) to wait indefinitely. + Not Supported - Just pass false. + true if the current instance receives a signal; otherwise, false. + + + + Waits for any of the elements in the specified array to receive a signal, using a 32-bit signed integer to measure the time interval. + + A WaitHandle array containing the objects for which the current instance will wait. + The array index of the object that satisfied the wait, or WaitTimeout if no object satisfied the wait and a time interval equivalent to timeout has passed. + + + + Waits for any of the elements in the specified array to receive a signal, using a 32-bit signed integer to measure the time interval. + + A WaitHandle array containing the objects for which the current instance will wait. + The number of milliseconds to wait, or Timeout.Infinite (-1) to wait indefinitely + Unsupported in the Compact Framework. This parameter is for compatibility and is ignored. + The array index of the object that satisfied the wait, or WaitTimeout if no object satisfied the wait and a time interval equivalent to timeout has passed. + + + + Waits for any of the elements in the specified array to receive a signal, using a 32-bit signed integer to measure the time interval. + + A WaitHandle array containing the objects for which the current instance will wait. + The array index of the object that satisfied the wait, or WaitTimeout if no object satisfied the wait and a time interval equivalent to timeout has passed. + + + + Waits for any of the elements in the specified array to receive a signal, using a 32-bit signed integer to measure the time interval. + + A WaitHandle array containing the objects for which the current instance will wait. + The number of milliseconds to wait, or Timeout.Infinite (-1) to wait indefinitely + Unsupported in the Compact Framework. This parameter is for compatibility and is ignored. + The array index of the object that satisfied the wait, or WaitTimeout if no object satisfied the wait and a time interval equivalent to timeout has passed. + + + + When overridden in a derived class, blocks the current thread until the current instance receives a signal, using a to measure the time interval and specifying whether to exit the synchronization domain before the wait. + + A TimeSpan that represents the number of milliseconds to wait, or a TimeSpan that represents -1 milliseconds to wait indefinitely. + Not Supported - Just pass false. + true if the current instance receives a signal; otherwise, false. + + + + When overridden in a derived class, releases all resources held by the current . + + + + + + + + + + + Sets the state of the event to signaled, allowing one or more waiting threads to proceed. + + Data that can be read by the event recipient + true if the function succeeds; otherwise, false. + + + + Provides a single operation that sets to signaled the state of the specified event object and then resets it to nonsignaled after releasing the appropriate number of waiting threads. + + + For a manual-reset event object, all waiting threads that can be released immediately are released. The function then resets the event object's state to nonsignaled and returns. + For an auto-reset event object, the function resets the state to nonsignaled and returns after releasing a single waiting thread, even if multiple threads are waiting. + If no threads are waiting, or if no thread can be released immediately, PulseEvent simply sets the event object's state to nonsignaled and returns. + For a thread using the multiple-object wait functions to wait for all specified objects to be signaled, PulseEvent can set the event object's state to signaled and reset it to nonsignaled without causing the wait function to return. This happens if not all of the specified objects are simultaneously signaled. + + true on success, otherwise false + + + + Gets the data associated (provided with a call to Set) with this event. + + The associated data + + + + A synchronization primitive than can also be used for interprocess synchronization. + + + + + Initializes a new instance of the Mutex2 class with a Boolean value indicating whether the calling thread should have initial ownership of the mutex, a string that is the name of the mutex, and a Boolean value that, when the method returns, will indicate whether the calling thread was granted initial ownership of the mutex. + + true to give the calling thread initial ownership of the mutex; otherwise, false. + The name of the Mutex. + If the value is a null reference (Nothing in Visual Basic), the Mutex is unnamed. + When this method returns, contains a Boolean that is true if the calling thread was granted initial ownership of the mutex; otherwise, false. + This parameter is passed uninitialized. + + + + Initializes a new instance of the Mutex2 class with a Boolean value indicating whether the calling thread should have initial ownership of the mutex, and a string that is the name of the mutex. + + true to give the calling thread initial ownership of the mutex; otherwise, false. + The name of the Mutex. + If the value is a null reference (Nothing in Visual Basic), the Mutex is unnamed. + Failed to create mutex. + + + + Initializes a new instance of the class with a Boolean value indicating whether the calling thread should have initial ownership of the mutex. + + true to give the calling thread initial ownership of the mutex; otherwise, false. + + + + Initializes a new instance of the Mutex2 class with default properties. + + + + + Opens an existing named mutex. + + The name of a system-wide named mutex object. + A object that represents a named system mutex. + The OpenExisting method attempts to open an existing named mutex. + If the system mutex does not exist, this method throws an exception instead of creating the system object. + Two calls to this method with the same value for name do not necessarily return the same object, even though they represent the same named system mutex. + name is a zero-length string. + -or- + name is longer than 260 characters. + name is a null reference (Nothing in Visual Basic). + The named mutex does not exist. + + + + Releases the once. + + The calling thread does not own the mutex. + + + + Blocks the current thread until the current receives a signal. + + true if the current instance receives a signal. if the current instance is never signaled, never returns. + + + + When overridden in a derived class, blocks the current thread until the current receives a signal, using 32-bit signed integer to measure the time interval and specifying whether to exit the synchronization domain before the wait. + + The number of milliseconds to wait, or Threading.Timeout.Infinite (-1) to wait indefinitely. + Just pass false + true if the current instance receives a signal; otherwise, false. + + + + When overridden in a derived class, blocks the current thread until the current instance receives a signal, using a TimeSpan to measure the time interval and specifying whether to exit the synchronization domain before the wait. + + A TimeSpan that represents the number of milliseconds to wait, or a TimeSpan that represents -1 milliseconds to wait indefinitely. + Just pass false + true if the current instance receives a signal; otherwise, false. + + + + Releases all resources held by the current + + + + + + + + + + + Contains native API calls for Threading related functionality. + + + + + This class is used a wrapper for the handle owned by a ThreadEx class + + + + + Provides common functionality that supports safe Win32 handle types. + + + + + Initializes a new instance of the class. + + true to reliably release the handle during the finalization phase; otherwise, false (not recommended). + + + + Gets a value indicating whether a handle is invalid. + + + + + Constructor for a SafeThreadHandle + + + + + + Opens the instance of the SafeHandle by calling the CreateHandleDelegate + + + + + Limits the number of threads that can access a resource, or a particular type of resource, concurrently. + + + + + Initializes a new instance of the class, specifying the maximum number of concurrent entries, and optionally reserving some entries for the calling thread. + + The initial number of requests for the semaphore that can be satisfied concurrently. + The maximum number of requests for the semaphore that can be satisfied concurrently. + + + + Initializes a new instance of the class, specifying the maximum number of concurrent entries, optionally reserving some entries for the calling thread, and optionally specifying the name of a system semaphore object. + + The initial number of requests for the semaphore that can be satisfied concurrently. + The maximum number of requests for the semaphore that can be satisfied concurrently. + The name of a system-wide named semaphore object. + + + + Initializes a new instance of the class, specifying the maximum number of concurrent entries, optionally reserving some entries for the calling thread, optionally specifying the name of a system semaphore object, and specifying an out parameter that indicates whether a new system object was created. + + The initial number of requests for the semaphore that can be satisfied concurrently. + The maximum number of requests for the semaphore that can be satisfied concurrently. + The name of a system-wide named semaphore object. + When this method returns, contains true if a new system object was created; otherwise false. This parameter is passed uninitialized. + + + + Opens an existing named semaphore. + + The name of a system semaphore. + A object that represents a named system semaphore. + The OpenExisting method attempts to open only existing named semaphores. + If a system semaphore with the specified name does not exist, this method throws an exception instead of creating the system semaphore. + It is possible to create multiple objects that represent the same named system semaphore. + Two calls to this method with the same value for name do not necessarily return the same object, even though the objects returned both represent the same named system semaphore. + name is a zero-length string. + -or- + name is longer than 260 characters. + name is a null reference (Nothing in Visual Basic). + The named semaphore does not exist. + + + + Exits the semaphore, returning the previous count. + + An integer value representing the count on the semaphore before the Overload:Semaphore.Release method was called. + + + + Exits the semaphore, returning the previous count. + + releaseCount: The number of times to exit the semaphore. + An integer value representing the count on the semaphore before the Overload:Semaphore.Release method was called. + releaseCount is less than 1. + + + + When overridden in a derived class, blocks the current thread until the current Threading.WaitHandle receives a signal. + + true if the current instance receives a signal. if the current instance is never signaled, WaitHandle.WaitOne() never returns. + + + + When overridden in a derived class, blocks the current thread until the current Threading.WaitHandle receives a signal, using 32-bit signed integer to measure the time interval and specifying whether to exit the synchronization domain before the wait. + + The number of milliseconds to wait, or Threading.Timeout.Infinite (-1) to wait indefinitely. + Just pass false + true if the current instance receives a signal; otherwise, false. + + + + When overridden in a derived class, blocks the current thread until the current instance receives a signal, using a TimeSpan to measure the time interval and specifying whether to exit the synchronization domain before the wait. + + A TimeSpan that represents the number of milliseconds to wait, or a TimeSpan that represents -1 milliseconds to wait indefinitely. + Just pass false + true if the current instance receives a signal; otherwise, false. + + + + Releases all resources held by the current + + + + + + + + + + + The exception that is thrown when the method is called on a semaphore whose count is already at the maximum. + + The count on a semaphore is decremented each time a thread enters the semaphore, and incremented when a thread releases the semaphore. + When the count is zero, subsequent requests block until other threads release the semaphore. + When all threads have released the semaphore, the count is at the maximum value specified when the semaphore was created. + If a programming error causes a thread to call the method at this point, a is thrown. + + + + Initializes a new instance of the class with default values. + + + + + Initializes a new instance of the class with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception. + If the innerException parameter is not a null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception. + + + + Creates and controls a thread, sets its priority, and gets its status. + + + + + Blocks the current thread for the specified number of milliseconds. + + Amount of time to block + + + + Blocks the current thread for the specified span of time. + + Amount of time to block + + + + Allocates an unnamed data slot on all the threads. + + A . + + + + Allocates a named data slot on all threads. + + The name of the data slot to be allocated. + A . + + + + Eliminates the association between a name and a slot, for all threads in the process. + + The name of the data slot to be freed. + + + + Retrieves the value from the specified slot on the current thread. + + The from which to get the value. + The value retrieved + + + + Looks up a named data slot. + + The name of the local data slot. + A allocated for this thread. + + + + Sets the data in the specified slot on the currently running thread, for that thread's current domain. + + The in which to set the value. + The value to be set. + + + + Returns a equivalent for the Thread2 instance + + The Thread2 to convert + A + + + + Initializes a new instance of the Thread2 class. + + A delegate that references the methods to be invoked when this thread begins executing. + + + + Causes the operating system to change the state of the current instance to . + + + + + Either suspends the thread, or if the thread is already suspended, has no effect. + + + + + Resumes a thread that has been suspended. + + + + + Raises a in the thread on which it is invoked, to begin the process of terminating the thread while also providing exception information about the thread termination. Calling this method usually terminates the thread. + + + + + + Raises a in the thread on which it is invoked, to begin the process of terminating the thread while also providing exception information about the thread termination. Calling this method usually terminates the thread. + + + + + Blocks the calling thread until a thread terminates or the specified time elapses. + + true if the thread has terminated; + + + + Blocks the calling thread until a thread terminates or the specified time elapses. + + + true if the thread has terminated; false if the thread has not terminated after the amount of time specified by the timeout parameter has elapsed. + + + + Blocks the calling thread until a thread terminates or the specified time elapses. + + The number of milliseconds to wait for the thread to terminate. + true if the thread has terminated; false if the thread has not terminated after the amount of time specified by the millisecondsTimeout parameter has elapsed. + + + + Gets or sets the name of the thread. + + A string containing the name of the thread, or a null reference (Nothing in Visual Basic) if no name was set. + + + + Gets a unique identifier for the current managed thread + + + + + Gets or sets a value indicating whether or not a thread is a background thread + + + + + Gets a value indicating the execution status of the current thread. + + true if this thread has been started and has not terminated normally or aborted; otherwise, false. + + + + Gets or sets a value indicating the scheduling priority of a thread. + + One of the values. The default value is Normal. + + + + Gets or sets a Thread2's quantum in milliseconds. Use zero for "run to completion". Unless modified by the OEM, the system default is 100ms + + + WARNING: Adjusting a thread quantum with this property can lead to application and even device deadlock or unpredictability. Use only with caution and strong knowledge of the target system. + + + + + Gets or sets a priority value outside of application priority space + + + WARNING: Adjusting a thread priority with this property can lead to application and even device deadlock or unpredictability. Use only with caution and strong knowledge of the target system. Do not use this Property for normal Priority settings. + + + + + Returns the Thread2 instance's current + + + + + Specifies the execution states of a . + + + + + Thread is unstarted. + + + + + Thread is running. + + + + + Thread is waiting in a Join. + + + + + Suspend has been called but not acted upon. + + + + + Thread is suspended. + + + + + Thread has either terminated or been Aborted. + + + + + The exception that is thrown when an attempt is made to open a system mutex or semaphore that does not exist. + + Instances of the Mutex class and the Semaphore class can represent named system synchronization objects. + When you use the method or the method to open a named system object that does not exist, a is thrown. + + + + Initializes a new instance of the class with default values. + + + + + Initializes a new instance of the class with a specified error message. + + The error message that explains the reason for the exception + + + + Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception + The exception that is the cause of the current exception. + If the innerException parameter is not a null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception. + + + + Provides data for the Elapsed event. + + + + + Gets the time the Elapsed event was raised. + + + + + Represents the method that will handle the Elapsed event of a Timer. + + + + + + + This precirsion timer can be used to generate recurring events in an application. It is dependent on platform support of the Multimedia Timer, which is not in Windows mobile + + + + + When overridden and UseCallback is true, this method will run when the timer Interval expires + + + + + Initializes a new instance of the Timer class with an interval of 100ms and a resolution of 10ms + + + + + Initializes a new instance of the Timer class with a resolution of 10ms + + The Interval for the Timer + + + + Initializes a new instance of the Timer class + + The Interval for the Timer + The resolution for the Timer + + + + Starts raising the Elapsed event by setting Enabled to true + + + If Enabled is set to true and AutoReset is set to false, the Timer raises the Elapsed event only once, the first time he interval elapses. When Enabled is true and AutoReset is true, the Timer continues to raise the Elapsed event on the specified interval. + You can also start timing by setting Enabled to true. +
NoteIf AutoReset is false, the Start method must be called in order to start the count again.
+
+
+ + + Stops raising the Elapsed event by setting Enabled to false. + + + + + This member overrides Component.Dispose. + + + + + + Occurs when the interval elapses. + + + + + When set, the overridden TimerCallback will be executed + + if this is set, the TimerCallback must be overridden + + + + Gets or sets a value indicating whether the Timer should raise the Elapsed event each time the specified interval elapses or only after the first time it elapses + + + + + Gets or sets a value indicating whether the Timer should raise the Elapsed event. + + + + + Gets or sets the interval at which to either raise the Elapsed event or run the TimerCallback method + + Default Interval is 100ms + + + + Resolution of the timer event, in milliseconds. The resolution increases with smaller values; a resolution of zero indicates periodic events should occur with the greatest possible accuracy. To reduce system overhead, however, you should use the maximum value appropriate for your application + + Default value = 10ms + + + + Gets or sets the object used to marshal event-handler calls that are issued when an interval has elapsed + + + When SynchronizingObject is a null reference (Nothing in Visual Basic), the method that handles the Elapsed event is called on a thread from the system-thread pool. For more information on system-thread pools, see ThreadPool. + When the Elapsed event is handled by a visual Windows Forms component, such as a button, accessing the component through the system-thread pool might result in an exception or just might not work. Avoid this effect by setting SynchronizingObject to a Windows Forms component, which causes the method that handles the Elapsed event to be called on the same thread that the component was created on. + If the Timer is used inside Visual Studio in a Windows Forms designer, SynchronizingObject is automatically set to the control that contains the Timer. For example, if you place a Timer on a designer for Form1 (which inherits from Form), the SynchronizingObject property of Timer is set to the instance of Form1. + + + + + Wrapper around the ToolHelp ProcessEntry information + + + This class requires the toolhelp32.dll + + + + + Get the short name of the current process + + The current process name + + + + Kill the Process + + + + + Rerieves an array of all running processes + + + + + + Base address for the process + + + + + Number of execution threads started by the process. + + + + + Identifier of the process. The contents of this member can be used by Win32 API elements. + + + + + Null-terminated string that contains the path and file name of the executable file for the process. + + + + + Identifier of the process. The contents of this member can be used by Win32 API elements. + + + + + Wrapper around the ToolHelp ProcessEntry information + + + This class requires the toolhelp32.dll + + + + + Get the thread ID + + The current Thread ID + + + + Terminates the currently referenced thread (based on its Thread ID) + + + + + + Retrieves an array of all running threads + + + + + + Retrieves an array of all running threads for a specified process + + + + + + Either suspends the thread, or if the thread is already suspended, has no effect. + + + + + Resumes a thread that has been suspended. + + + + + Sets a value indicating the scheduling priority of a thread. + + One of the values. + + + + Gets or sets a priority value outside of application priority space + + The new Priority, from 0 to 255 + + WARNING: Adjusting a thread priority with this property can lead to application and even device deadlock or unpredictability. Use only with caution and strong knowledge of the target system. Do not use this Property for normal Priority settings. + + + + + Gets or sets a the thread's quantum in milliseconds. Use zero for "run to completion". Unless modified by the OEM, the system default is 100ms + + The new thread quantum + + WARNING: Adjusting a thread quantum with this property can lead to application and even device deadlock or unpredictability. Use only with caution and strong knowledge of the target system. + + + + + Number of references to the thread. A thread exists as long as its usage count is nonzero. As soon as its usage count becomes zero, a thread terminates. + + + + + Identifier of the thread. This identifier is compatible with the thread identifier returned by the CreateProcess function. + + + + + Identifier of the process that created the thread. The contents of this member can be used by Win32 API elements. + + + + + Initial priority level assigned to a thread, which can be a value from 0 to 255. + + + + + Change in the priority level of a thread. This value is a signed delta from the base priority level assigned to the thread. + + + + + Process identifier where the thread is executing. + + + + + Trigonometric Look-up Table. + + + + + This function returns the address of the specified exported DLL function. + + Handle to the DLL module that contains the function. + The or function returns this handle. + string containing the function name, or specifies the function's ordinal value. + If this parameter is an ordinal value, it must be in the low-order word; the high-order word must be zero. + + + + + This function returns a module handle for the specified module if the file is mapped into the address space of the calling process. + + string that contains the name of the module, which must be a DLL file. + A handle to the specified module indicates success. IntPtr.Zero indicates failure. + + + + This function determines whether the calling process has read access to the memory at the specified address. + + Pointer to an address in memory. + Zero indicates that the calling process has read access to the specified memory. + Nonzero indicates that the calling process does not have read access to the specified memory. + + + + Processor Architecture values (GetSystemInfo) + + + + + + Processor is Intel x86 based. + + + + + Processor is MIPS based. + + + + + Processor is Alpha based. + + + + + Processor is Power PC based. + + + + + Processor is SH3, SH4 etc. + + + + + Processor is ARM based. + + + + + Processor is Intel 64bit. + + + + + Processor is Alpha 64bit. + + + + + Unknown processor architecture. + + + + + Processor type values (GetSystemInfo) + + + + + + Processor is Intel 80386. + + + + + Processor is Intel 80486. + + + + + Processor is Intel Pentium (80586). + + + + + Processor is Intel Pentium II (80686). + + + + + Processor is Intel 64bit (IA64). + + + + + Processor is MIPS R4000. + + + + + Processor is Alpha 21064. + + + + + Processor is Power PC 403. + + + + + Processor is Power PC 601. + + + + + Processor is Power PC 603. + + + + + Processor is Power PC 604. + + + + + Processor is Power PC 620. + + + + + Processor is Hitachi SH3. + + + + + Processor is Hitachi SH3E. + + + + + Processor is Hitachi SH4. + + + + + Processor is Motorola 821. + + + + + Processor is SH3. + + + + + Processor is SH4. + + + + + Processor is StrongARM. + + + + + Processor is ARM 720. + + + + + Processor is ARM 820. + + + + + Processor is ARM 920. + + + + + Processor is ARM 7 TDMI. + + + + + This structure contains information about the current computer system. This includes the processor type, page size, memory addresses, and OEM identifier. + + + + + + The system's processor architecture. + + + + + The page size and the granularity of page protection and commitment. + + + + + Pointer to the lowest memory address accessible to applications and dynamic-link libraries (DLLs). + + + + + Pointer to the highest memory address accessible to applications and DLLs. + + + + + Specifies a mask representing the set of processors configured into the system. Bit 0 is processor 0; bit 31 is processor 31. + + + + + Specifies the number of processors in the system. + + + + + Specifies the type of processor in the system. + + + + + Specifies the granularity with which virtual memory is allocated. + + + + + Specifies the system’s architecture-dependent processor level. + + + + + Specifies an architecture-dependent processor revision. + + + + + This structure contains information about current memory availability. The GlobalMemoryStatus function uses this structure. + + + + + Specifies a number between 0 and 100 that gives a general idea of current memory utilization, in which 0 indicates no memory use and 100 indicates full memory use. + + + + + Indicates the total number of bytes of physical memory. + + + + + Indicates the number of bytes of physical memory available. + + + + + Indicates the total number of bytes that can be stored in the paging file. Note that this number does not represent the actual physical size of the paging file on disk. + + + + + Indicates the number of bytes available in the paging file. + + + + + Indicates the total number of bytes that can be described in the user mode portion of the virtual address space of the calling process. + + + + + Indicates the number of bytes of unreserved and uncommitted memory in the user mode portion of the virtual address space of the calling process. + + + + + Specifies aspects of the formatting process and how to interpret the lpSource parameter. + + The low-order byte of dwFlags specifies how the function handles line breaks in the output buffer. + The low-order byte can also specify the maximum width of a formatted output line. + + + + The function allocates a buffer large enough to hold the formatted message, and places a pointer to the allocated buffer at the address specified by lpBuffer. + + + + + Insert sequences in the message definition are to be ignored and passed through to the output buffer unchanged. + + + + + Specifies that lpSource is a pointer to a null-terminated message definition. + + + + + Specifies that lpSource is a module handle containing the message-table resource(s) to search. + + + + + Specifies that the function should search the system message-table resource(s) for the requested message. + + + + + Specifies that the Arguments parameter is not a va_list structure, but instead is just a pointer to an array of 32-bit values that represent the arguments. + + + + + Use the MaxWidthMask constant and bitwise Boolean operations to set and retrieve this maximum width value. + + + + + KeyStateFlags for Keyboard methods + + + + + Key is toggled. + + + + + + + + + + Key was previously down. + + + + + Key is currently down. + + + + + Left or right CTRL key is down. + + + + + Left or right SHIFT key is down. + + + + + Left or right ALT key is down. + + + + + VK_CAPITAL is toggled. + + + + + Left CTRL key is down. + + + + + Left SHIFT key is down. + + + + + Left ALT key is down. + + + + + Left Windows logo key is down. + + + + + Right CTRL key is down. + + + + + Right SHIFT key is down + + + + + Right ALT key is down + + + + + Right Windows logo key is down. + + + + + Corresponding character is dead character. + + + + + No characters in pCharacterBuffer to translate. + + + + + Use for language specific shifts. + + + + + NumLock toggled state. + + + + + Contains methods for working with the system registry. + + + + + This function saves a copy of the current Windows CE RAM–based registry to a specified file. + + Specifies the name of the file to which the registry is saved + + + + This function putrs the OS in a state that it will load the specified registry on the next boot. + + Path to the source registry file generated by a call to + The device will be soft reset when this overload of the function is called + + + + This function putrs the OS in a state that it will load the specified registry on the next boot. + + Path to the source registry file generated by a call to + If true, the device will soft reset when the method is called to complete the update + The device *must* be soft reset for the registry to actually be restored + + + + This function saves the specified key and all of its subkeys and values to a new file. If the specified key is not a predefined ROOT, it backs up to the ROOT of the keyToSave and saves there. + + Specifies a handle to the key where the save operation is to begin, or any of the following predefined reserved handle values: + + + + + + + + Specifies the name of the file to which the registry key will be saved + + + + This function replaces the file backing a registry key and all its subkeys with another file, so that when the OS is next started, the key and subkeys will have the values stored in the new file. + + Path to the source registry file generated by a call to + The device will be soft reset when this overload of the function is called + + + + This function replaces the file backing a registry key and all its subkeys with another file, so that when the OS is next started, the key and subkeys will have the values stored in the new file. + + Path to the source registry file generated by a call to + If true, the device will soft reset when the method is called to complete the update + The device *must* be soft reset for the registry to actually be restored + + + + Creates a new volatile subkey for the specified registry key. + Requires Windows CE 5.0 + + Existing parent key. + The name or path of the subkey to create. + New RegistryKey create as a volatile key. + + + + Represents a wrapper class for file handles. + + + + + Initializes a new instance of the class. + + The pre-existing handle to use. + true to reliably release the handle during the finalization phase; otherwise, false (not recommended). + + + + Executes the code required to free a handle. + + true if the handle is released successfully; false if a catastrophic failure occurs. + + + + Provides common functionality that supports safe Win32 handle types. + + + + + Initializes a new instance of the class. + + true to reliably release the handle during the finalization phase; otherwise, false (not recommended). + + + + Gets a value indicating whether a handle is invalid. + + + + + Represents a wrapper class for wait handles. + + + + + Initializes a new instance of the class. + + The pre-existing handle to use. + true to reliably release the handle during the finalization phase; otherwise, false (not recommended). + + + + Executes the code required to free a handle. + + true if the handle is released successfully; false if a catastrophic failure occurs. + + + + name is a WIN.INI [sounds] entry + + + + + name is a file name + + + + + name is a resource name or atom + + + + + Play synchronously (default) + + + + + Play asynchronously + + + + + Silence not default, if sound not found + + + + + name points to a memory file + + + + + Loop the sound until next sndPlaySound + + + + + Don't stop any currently playing sound + + + + + Don't wait if the driver is busy + + + + + This class defines the format of waveform-audio data. + Only format information common to all waveform-audio data formats is included in this class. + For formats that require additional information, this class is included + as the first member in another class, along with the additional information + + Equivalent to native WAVEFORMATEX structure. + + + + Default constructor + + + + + Default constructor + + + + + Default constructor + + + + + Get bytes + + byte array representation of this instance + + + + Class for getting audio device capabilities. + + + + + This structure represents a date and time using individual members for the month, day, year, weekday, hour, minute, second, and millisecond. + + Wraps the native SYSTEMTIME structure. + + + + Offset within structure to Year value. + + + + + Offset within structure to Month value. + + + + + Offset within structure to DayOfWeek value. + + + + + Offset within structure to Day value. + + + + + Offset within structure to Hour value. + + + + + Offset within structure to Minute value. + + + + + Offset within structure to Second value. + + + + + Offset within structure to Millisecond value. + + + + + Represents an empty SystemTime structure. + + + + + Construct a SystemTime from a byte array + + This is used when setting a time zone, + which contains two embedded SystemTime structures. + Byte Array containing SystemTime data. + + + + Construct a SystemTime from a portion of a byte array. + + This is used when setting a time zone, + which contains two embedded SystemTime structures. + Byte Array containing SystemTime data. + Offset (in bytes) to SystemTime data. + + + + Initializes a new SystemTime object with the specified parameters. /// Initializes a new SYSTEMTIME object with the specified parameters. + Specifies the current year. + Specifies the current month; January = 1, February = 2, and so on + Specifies the current day of the month. + Specifies the current hour. + Specifies the current minute. + Specifies the current second. + + + + + Method to extract marshal-compatible 'structure' from the class. + + Byte Array containing the SystemTime data. + + + + Create a new SystemTime instance from an existing DateTime instance. + + DateTime to create SystemTime from. + + + + Create a new empty SystemTime instance. + + + + + Converts a SystemTime structure to a DateTime object. + + A SystemTime structure. + Equivalent date in the form of a + + + + Converts a 64bit FileTime value to a SystemTime structure. + + FileTime. + A SystemTime structure. + + + + Converts a SystemTime structure to the equivalent FileTime 64bit integer. + + + + + + + Returns a SystemTime equivalent to the specified operating system file timestamp. + + A Windows file time. + A SystemTime value representing the date and time of fileTime. + + + + Converts the value of this instance to the format of a local operating system file time. + + The value of this SystemTime in the format of a local operating system file time. + + + + Converts a SystemTime structure to the equivalent binary data. + + + + + + + Creates a new instance of SystemTime from an existing System.DateTime object + + DateTime object to copy. + SystemTime class matching the DateTime object. + + + + Returns a object with the same Date and time as this instance. + + A copy of the SystemTime object. + + + + Gets the year component of the date represented by this instance. + + + + + Gets the month component of the date represented by this instance. + + + + + The Day of the week. Sunday = 0, Monday = 1, and so on. + + Because the numbering scheme matches the System.DayOfWeek enumeration, + it is possible to cast this field to DayOfWeek. + + + + Gets the day of the month represented by this instance. + + + + + Gets the hour component of the date represented by this instance. + + + + + Gets the minute component of the date represented by this instance. + + + + + Gets the seconds component of the date represented by this instance. + + + + + Gets the milliseconds component of the date represented by this instance. + + + + + Provides a thread-safe collection that contains objects of a type specified by the generic parameter as elements. + + + + + + Initializes a new instance of the SynchronizedCollection(T) class. + + + + + An implementation of the Fast Fourier Transform based on the work of Laurent de Soras + + + + + Compute an FFT on a 2^n-length data set + + + + + + + Compute an inverse FFT on a 2^n-length data set of complex numbers + + + + + + + Creates a DelimitedTextFileWriter with a comma (',') FieldDelimiter and a newline ('\n') RowDelimiter + + + + + Creates a DelimitedTextFileWriter with the provided FieldDelimiter and a newline ('\n') RowDelimiter + + char that separates fields in a row + Fully-qualified path to the delimited text file + + + + Creates a DelimitedTextFileWriter with the provided FieldDelimiter and a newline ('\n') RowDelimiter + + string that separates fields in a row + Fully-qualified path to the delimited text file + + + + Creates a DelimitedTextFileWriter with the provided FieldDelimiter and RowDelimiter + + Fully-qualified path to the delimited text file + char that separates fields in a row + char that separates rows in the file + + + + Creates a DelimitedTextFileWriter with the provided FieldDelimiter and RowDelimiter + + Fully-qualified path to the delimited text file + char that separates fields in a row + char that separates rows in the file + + + + Creates a DelimitedTextFileWriter with the provided FieldDelimiter and RowDelimiter + + string that separates fields in a row + string that separates rows in the file + The character encoding to use. + Fully-qualified path to the delimited text file + + Determines whether data is to be appended to the file. If the file exists + and append is false, the file is overwritten. If the file exists and append + is true, the data is appended to the file. Otherwise, a new file is created. + + + + + Writes a RowDelimiter to the output file + + + + + Writes an array of values to a single row in the target file + + values to write + + Writes an array of values to a single row in the target file + + + + + Writes an array of values to a single row in the target file + + values to write + + + + Writes any IEnumerable list to a single row in the target file. + If each element in the list is also IEnumerable then each element becomes a row in the target file + + + + + + Writes the value followed by the currently set FieldDelimiter to the output file + + Value to write + + + + Closes the current writer and releases any system resources associated with + the writer. + + + + + Causes any buffered data to be flushed to the target file + + + + + Releases the unmanaged resources used by the DelimitedTextWriter + + + + + Gets or sets the string that separates fields in a row + + + + + Gets or sets the string that separates rows in the file + + + + + Listens to the file system change notifications and raises events when a directory, or file in a directory, changes. + + + The FileSystemMonitor is thread-safe and does not depend on aygshell.dll being present in the system, + therefore, it is safe to use this for file system notifications when no GUI is present. + + + + + Initializes a new instance of the FileSystemMonitor class. + + + + + Initializes a new instance of the FileSystemMonitor class, given the specified directory to monitor. + + The directory to monitor, in standard or Universal Naming Convention (UNC) notation. + + + + Initializes a new instance of the FileSystemMonitor class, given the specified directory and type of files to monitor. + + The directory to monitor, in standard or Universal Naming Convention (UNC) notation. + The type of files to watch. For example, "*.txt" watches for changes to all text files. + + + + Releases unmanaged resources and performs other cleanup operations before the is reclaimed by garbage collection. + + + + + Releases the unmanaged resources used by the and optionally releases the managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Occurs when a file or directory in the specified is created. + + + + + Occurs when a file or directory in the specified is changed. + + + + + Occurs when a file or directory in the specified is deleted. + + + + + Occurs when a file or directory in the specified is renamed. + + + + + Gets or sets a value indicating whether the component is enabled. + + + + + Gets or sets a value indicating whether subdirectories within the specified path should be monitored. + + + + + Gets or sets the type of changes to watch for. + + + + + Gets or sets the path of the directory to watch. + + + + + Gets or sets the filter string, used to determine what files are monitored in a directory. + + + + + Represents a note for the SoundPlayer to play. + + + Internally this class stores data as the MIDINote value, which is a whole number. Due to mathematical rounding, if you set a + specific frequency, you may not get the exact same frequency back on a read. Instead you will get the frequency associated with the nearest + MIDI note to the frequency. + + + + + + + + + + freq = 440 * 2^((n-69)/12) + + + + + + + + + + n = 69 + 12*log(freq/440)/log(2) + + + + + frequency in Hertz + + + + + MIDI note value + + + + + Duration in tenths of a second + + + + + A static (Shared in Visual Basic) class designed to help + determine whether a Win32 library exists and if so, whether the + library exports a specific entry point. + + + + If Device.Win32Library("coredll").HasMethod("FindWindow") Then + NativeMethods.FindWindow("MyWindowName", String.Empty) + End If + + + if (Device.Win32Library("coredll").HasMethod("FindWindow") + { + NativeMethods.FindWindow("MyWindowName", String.Empty); + } + + + + + + Creates an instance of the NativeLibrary class. + + The returned instance will always be non-null. + To determine the existence of the library, check the + property. + The name of the Win32 library. The + file extension is optional. + + + + Indicates whether the Win32 library exports the specified entry point. + + + + + + + Indicates whether the library exists or not. + + + + + The name of the Win32 library. + + + + + Enhanced alternative to the class. + Provides a mechanism that synchronizes access to objects. + + + + + + The owner of the monitor, or null if it's not owned + by any thread. + + + + + Number of levels of locking (0 for an unowned + monitor, 1 after a single call to Enter, etc). + + + + + Object to be used as a monitor for state changing. + + + + + AutoResetEvent used to implement Wait/Pulse/PulseAll. + Initially not signalled, so that a call to Wait will + block until the first pulse. + + + + + Number of threads waiting on this monitor. + + + + + Event used for Enter/Exit. Initially signalled + to allow the first thread to come in. + + + + + Creates a new monitor, not owned by any thread. + + + + + Enters the monitor (locks it), blocking until the + lock is held. If the monitor is already held by the current thread, + its lock count is incremented. + + + + + Attempts to enter the monitor (locking it) but does not block + if the monitor is already owned. + + Whether or not the current thread now owns the monitor. + + + + + Releases a level of locking, unlocking the monitor itself + if the lock count becomes 0. + + If the current + thread does not own the monitor. + + + + Pulses the monitor once - a single waiting thread will be released + and continue its execution after the current thread has exited the + monitor. Unlike Pulse on the normal framework, no guarantee is + made about which thread is woken. + + If the + current thread does not own the monitor. + + + + Pulses the monitor such that all waiting threads are woken up. + All threads will then try to regain the lock on this monitor. + No order for regaining the lock is specified. + + If the current + thread does not own the monitor. + + + + Relinquishes the lock on this monitor (whatever the lock count is) + and waits for the monitor to be pulsed. After the monitor has been + pulsed, the thread blocks again until it has regained the lock (at + which point it will have the same lock count as it had before), and + then the method returns. + + + + + Exception thrown by when threading rules + are violated (usually due to an operation being + invoked on a monitor not owned by the current thread). + + + + + Initializes a new instance of the class with a specified error message. + + The error message that explains the reason for the exception. + + + + Creates an unnamed MemoryMappedFile instance using an in-memory map as the backing object with a maximum size of DefaultInMemoryMapSize + + + + + + Creates a named MemoryMappedFile instance using an in-memory map as the backing object with a maximum size of DefaultInMemoryMapSize + + + + + + + Creates a named MemoryMappedFile instance using an in-memory map as the backing object + + + + + + + + Creates a MemoryMappedFile instance using a file system file as the backing object + + + + A positive number or the UseFileSizeForMaximumMapSize constant + + + + + Closes and releases all resources associated with the stream + + + + + Flushes all pending writes + + + + + Moves the current stream position pointer + + + + + + + + Reads data from the MemoryMappedFile + + + + + + + + + Writes data to the MemoryMappedFile + + + + + + + + Throws a NotSupportedException + + Not Supported + + + + Throws a NotSupportedException + + + + + Throws a NotSupportedException + + + + + Throws a NotSupportedException + + + + + Throws a NotSupportedException + + + + + The name of the MemoryMapped file provided during construction + + + + + Gets the maximum length of the MemoryMappedFile + + + + + Gets or sets the current position within the MemoryMappedFile stream + + + + + Always returns true for MemoryMappedFiles + + + + + Always returns true for MemoryMappedFiles + + + + + Always returns false for MemoryMappedFiles + + + + + Always returns true for MemoryMappedFiles + + + + + Throws a NotSupportedException + + + + + Throws a NotSupportedException + + + + + Wrapper around the ToolHelp ModuleEntry information + + + This class requires the toolhelp32.dll + + + + + Retrieves an array of all running threads for a specified process + + Any array of ModuleEntry classes + + + + The module name + + + + + The module path + + + + + The base address of the module in the context of the owning process. + + + + + The size of the module, in bytes. + + +
+