WebDAV .NET > Tutorial > Lock and unlock files

The following example shows you how to lock a file, change it while it is locked, refresh the lock and unlock it. The client submits the lock token automatically when it changes the locked file.

C# example
VB example

Need help? Ask our developers: