codice:
            // controllo che il file rispetti  h e l

int MaxWidth = Int32.Parse(var7);
int MaxHeight = Int32.Parse(var8);

System.Drawing.Image img = System.Drawing.Image.FromStream(FileUpload.PostedFile.InputStream);

If ((img.Width == MaxWidth) || (img.Height == MaxHeight)) { 

//codice

}
var7 e var8 sono recuperati!
ottengo l'errore ; expected sulla riga rossa