Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public struct PicData
- {
- public byte[] data;
- public int length;
- public Guid id;
- }
- public void post()
- {
- var uploaded = new PostedImage();
- var newPic = new PicData();
- newPic.data = uploaded.data;
- newPic.length = uploaded.length;
- newPic.id = Guid.NewGuid();
- }
Add Comment
Please, Sign In to add comment