I have a very simple task. I just need to convert some ASP.NET code (written in VB) to Classic ASP also in VB. Here is the ASP.NET code:
<%
Boolean isValid = true;
...
if (!isValid)
{
[login to view URL] = "403 Forbidden";
}
else
{
[login to view URL]("Content-Type", "binary/octet-stream");
[login to view URL]("Pragma", "nocache");
String keyStr = "F7560";
int len = [login to view URL];
byte[] keyBuffer = new byte[len];
for (int i=0;i<len;i++)
keyBuffer[i] = [login to view URL]([login to view URL](i*2, 2), 16);
[login to view URL](keyBuffer);
[login to view URL]();
[login to view URL]();
}
%>
That's it... should take just a few minutes!