public void Detach() { var p = _path; if( p == null ) throw new ObjectDisposedException( "TemporaryFile" ); _path = String.Empty; }