Skip to content

Commit

Permalink
Merge pull request #3192 from victorsbd/master
Browse files Browse the repository at this point in the history
Added Hardware Reset to .Net wrapper
  • Loading branch information
dorodnic authored Feb 3, 2019
2 parents 540e8e5 + 72f23b4 commit 4223c17
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions wrappers/csharp/Intel.RealSense/Devices/Device.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ public SensorList Sensors
return QuerySensors();
}
}

public void HardwareReset()
{
object error;
NativeMethods.rs2_hardware_reset(m_instance, out error);
}

#region IDisposable Support
private bool disposedValue = false; // To detect redundant calls
Expand Down

0 comments on commit 4223c17

Please sign in to comment.