ReadFT232REEPROM() public méthode

Reads the EEPROM contents of an FT232R or FT245R device. Calls FT_EE_Read in FTD2XX DLL
Thrown when the current device does not match the type required by this method.
public ReadFT232REEPROM ( FT232R_EEPROM_STRUCTURE ee232r ) : FT_STATUS
ee232r FT232R_EEPROM_STRUCTURE
Résultat FT_STATUS
 //end Properties
 //=======================================
 //Public Methods
 /// <summary>
 /// Read FTDI EEPROM
 /// </summary>
 /// <param name="dev"></param>
 /// <returns></returns>
 public FTDI.FT_STATUS readFtdiEEProm(FTDI dev)
 {
     FTDI.FT_STATUS ftStatus = FTDI.FT_STATUS.FT_OK;
     ftEeprom = new FTDI.FT232R_EEPROM_STRUCTURE();
     try
     {
         ftStatus = dev.ReadFT232REEPROM(ftEeprom);
     }
     catch (FTDI.FT_EXCEPTION ex)
     {
         throw ex;
     }
     return ftStatus;
 }