1. 1376.
    0
    byte[] buffer = new byte[10000];
    int bytesRead, totalBytesRead = 0;

    do
    {
    bytesRead = image. Read(buffer, 0, buffer. Length);
    totalBytesRead += bytesRead;
    } while (bytesRead > 0);

    FileStream mystream = new FileStream( "C:\deneme.jpg" , FileMode. CreateNew);
    mystream. Write(buffer, 0, buffer. Length);


    return "reading success";
    ···
   tümünü göster