You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Drawing;
|
|
|
|
|
using System.Drawing.Imaging;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Facade.Subsystems
|
|
|
|
|
{
|
|
|
|
|
class PictureSystem
|
|
|
|
|
{
|
|
|
|
|
Random rand = new Random();
|
|
|
|
|
|
|
|
|
|
public byte[] GetPicture(int id)
|
|
|
|
|
{
|
|
|
|
|
byte[] data = new byte[id];
|
|
|
|
|
rand.NextBytes(data);
|
|
|
|
|
|
|
|
|
|
return data;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|