2 writes to _path
System.Web.Mobile (2)
UI\MobileControls\Design\Util\TemporaryBitmapFile.cs (2)
36_path = Path.GetTempPath() + Guid.NewGuid().ToString() + ".bmp"; 52_path = null;
11 references to _path
System.Web.Mobile (11)
UI\MobileControls\Design\Util\TemporaryBitmapFile.cs (11)
47if(_path != null) 49FileAttributes fa = File.GetAttributes(_path); 50File.SetAttributes(_path, fa & ~FileAttributes.ReadOnly); 51File.Delete(_path); 60if(File.Exists(_path)) 62fa = File.GetAttributes(_path); 63File.SetAttributes(_path, fa & ~FileAttributes.ReadOnly); 66_bitmap.Save(_path, ImageFormat.Bmp); 69fa = File.GetAttributes(_path); 70File.SetAttributes(_path, fa | FileAttributes.ReadOnly); 77return "file:///" + _path;