GSF.IO.FileStructure.Media.MemoryPoolFile.ChangeShareMode C# (CSharp) Method

ChangeShareMode() public method

Reopens the file with different permissions.
public ChangeShareMode ( bool isReadOnly, bool isSharingEnabled ) : void
isReadOnly bool If the file should be reopened as readonly
isSharingEnabled bool If the file should share read privileges.
return void
        public void ChangeShareMode(bool isReadOnly, bool isSharingEnabled)
        {
            m_isReadOnly = isReadOnly;
        }