I posted some sample C# code (VS 2019) in the "Files" section of this forum. I hope that you find it useful.