Click here to Skip to main content
15,897,273 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi friends
following code in C#.net...

{
long filesize=Mystream.Length;
byte [] buffer=new byte[(int)filesize];
Mystream.Read(buffer,0,(int)Mystream.Length);

}
How To convert this code in vb.net......or same code in vb.net.

Thanks.
Randeep Chauhan
Posted

1 solution

It's time for you to read some documentation, I suppose: FileStream Class[^] at MSDN (in the provided sample code you may find all that's needed).
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900