C# Class lucidcode.LucidScribe.Plugin.TI.EZ430.PortName

Class to enumerate friendly names of com ports code taken from http://creativecodedesign.com/node/39 and refurbished
Afficher le fichier Open project: lucidcode/LucidScribe-Chronos-EZ430 Class Usage Examples

Méthodes publiques

Méthode Description
BuildPortNameHash ( string oPortsToMap ) : Hashtable

Begins recursive registry enumeration

Private Methods

Méthode Description
Contains ( String Values, String Value ) : System.Boolean
MineRegistryForPortName ( string strStartKey, Hashtable oTargetMap, string oPortNamesToMatch ) : void

Recursively enumerates registry subkeys starting with strStartKey looking for "Device Parameters" subkey. If key is present, friendly port name is extracted.

Method Details

BuildPortNameHash() public static méthode

Begins recursive registry enumeration
public static BuildPortNameHash ( string oPortsToMap ) : Hashtable
oPortsToMap string array of port names (i.e. COM1, COM2, etc)
Résultat System.Collections.Hashtable