/// <summary> /// Loads the specified driver. /// </summary> public bool LoadDriver() { if (!this.IsCreated) { throw new Exception("Driver is not created."); } if (this.IsLoaded) { return(true); } if (Turla.LoadDriver(this.Driver.DriverFile.FullName)) { this.IsLoaded = true; return(true); } return(false); }
/// <summary> /// Loads the specified driver. /// </summary> public bool LoadDriver() { if (!this.IsCreated) { throw new Exception("Service is not created."); } if (this.IsLoaded) { return true; } this.IsLoaded = Turla.LoadDriver(this.Driver.Config.DriverFile.FullName); if (this.IsLoaded) { return true; } return false; }