Stream stream = WriteableBitmap.PixelBuffer.AsStream() missing
问题 I'm writing windows store app (8.1) and I have sample (probably for win 8.0): private WriteableBitmap WriteableBitmap; … WriteableBitmap = new WriteableBitmap(500,500); … using (Stream stream = WriteableBitmap.PixelBuffer.AsStream()) { … } So I have created new win 8.1 project and trying to do it same way, but when I get to: using (Stream stream = WriteableBitmap.PixelBuffer.AsStream()) My project dont recognize *.AsStream() method, can anyone tell me why? 回答1: using System.Runtime