If you use parameter passing, you can use byte type arrays. Vb.net is very strange. If you want to return data, you can only use byte type arrays. When you use the long type under vb, it should be an integer type under vb.net. this is okay
Upstairs, my code is wrong, haha with csinf! I'm still a little dizzy now! The declaration in vb6.0 is not easy to use in vb.net, and it involves a lot of changes, especially how to declare the array members of structure members as parameters is a big headache!