/// <summary> /// Reopens the file with different permissions. /// </summary> /// <param name="isReadOnly">If the file should be reopened as readonly</param> /// <param name="isSharingEnabled">If the file should share read privileges.</param> public void ChangeShareMode(bool isReadOnly, bool isSharingEnabled) { m_diskIo.ChangeShareMode(isReadOnly, isSharingEnabled); }