CK.Core.TemporaryFile.Detach C# (CSharp) Method

Detach() public method

Detaches the temporary file: it will no more be automatically destroyed. When created short-lived (see FileAttributes.Temporary), this flag is not reset: the file will be destroyed by the Operating System on the bext reboot.
public Detach ( ) : void
return void
		public void Detach()
		{
            var p = _path;
            if( p == null ) throw new ObjectDisposedException( "TemporaryFile" );
            _path = String.Empty;
		}