Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
236 B
4
Indexable
Never
Stream stream = Assembly.GetExecutingAssembly().GetManifestResourceStream("VRTMobileMVVC.Resources.Images.test3.jpg");

var memoryStream = new MemoryStream();
stream.CopyTo(memoryStream);

byte[] byteArray = memoryStream.ToArray();