|
-
Dec 10th, 2011, 09:36 AM
#1
Thread Starter
Hyperactive Member
Pre-cache FileInfo.Length for transfer of info
I have built a program which serializes and transmits FileInfos across a network.
It worked good until I tried getting the FileInfo.Length on the computer which has received a FileInfo that is about a file on another computer. It fails saying the file doesn't exist since the Length isn't stored in the FileInfo when declaring it.
To simplify it:
Is it possible to pre-store the Length of the file before sending the FileInfo to another computer where the file doesn't exist?
Or will I need to write my own FileInfoX Class which kinda just copies a FileInfo, and then stores all the variables?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|