questa è la mia struttura:

public struct ip_address
{
public char byte1;
public char byte2;
public char byte3;
public char byte4;
}

Ora ho preso un file .acp e l'ho sviluppato creando un array "ReadArray"
public void Carica_File( string FileName )
{


StreamReader SReader = new StreamReader( FileName );
Stream RStream;
byte [] ReadArray;
byte [] HeaderData = new byte[24];
RStream = SReader.BaseStream;
ReadArray = new byte[(int) RStream.Length - 24 ];
RStream.Read( HeaderData , 0 , 24 );
RStream.Read( ReadArray , 0 , (int) RStream.Length - 24 );


a questo punto vorrei sapere come faccio a far scorrere il mio array, passandolo alla struttura.

in c++ facevo cosi':
ip_address *ip;

ip=(address *) (ReadArray );

ma con c# non funziona.

Se mi sai dare una soluzione.
grazie