System.Windows.Interop.D3DImage.TryLock C# (CSharp) Method