Converts lock-null item to resource.
Engine calls this method when lock-null item must be converted to a resource. After calling this method Engine calls IResource.SaveFromStream or IResumableUpload.SaveFromStream.
public WebDAVResponse ConvertToResource()
{
FileInfo file = (FileInfo)base.fileSystemInfo;
file.Attributes &= ~FileAttributes.Temporary; // remove lock-null marker
return new CreatedResponse();
}
ILockNull Interface | ITHit.WebDAV.Server Namespace