To lock part of a file use FileStream.Lock method which has two parameters, start of range and length of range to lock then to unlock use Unlock. Both methods have code samples to learn from.
Locking part or last byte of a binary file
John
466
Reputation points
I may have become familiar with the FileStream library type.
How does the Lock method work?
Can anyone provide me some examples?
Which parameters and their data types do I need to make this work properly?
Regards,
John