Retrive Bitmap frame

Hi
I am using c# desktop (and not WPF)
How can I save a (depth frame) as an image/bitmap?