I,m try to open SPFile in binary format:
SPFolder Folder = web.GetFolder(item.Attachments.UrlPrefix);
foreach (SPFile File in Folder.Files)
{
byte[] CopyFile = File.OpenBinary();
}
but the result byte [1]=0, what i'm doing wrong?