private bool CreateFileStream(string path)
{
bool returnValue = false;
try
{
Info = new FileInfo(path);
if (fs != null)
{
fs.Close();
}
if (Info.Exists)
{
Info.Delete();
}
fs = new FileStream(Info.FullName, FileMode.OpenOrCreate, FileAccess.ReadWrite);
returnValue = true;
}
catch (Exception ex)
{
Debug.WriteLine(ex);
}
return returnValue;
}