public void UnlockBits(BitmapData bitmapdata) { Status status = GDIPlus.GdipBitmapUnlockBits(nativeObject, bitmapdata); GDIPlus.CheckStatus(status); }