public void Dispose()
 {
     if (_IPP != null)
     {
         _IPP.Dispose();
         _IPP = null;
     }
 }
 internal BufferWrapper(IprivatePersistance IPP)
 {
     _IPP = IPP;
     _IsPersistent = false;
 }
            bool IPersistentBufferProvider.Save(string FileName)
            {
                if (FileName == null)
                    return false;

                IprivatePersistance New = null;

                try
                {
                    New = _IPP.Save(FinalFileName(FileName));
                    if (New != null)
                    {
                        _IPP.Dispose();
                        _IPP = New;
                    }

                    return true;
                }
                catch (Exception e)
                {
                    Trace.WriteLine("Problem saving a stream " + e.ToString() + " " + _IPP.ToString());
                    return false;
                }
            }