public DsplBaseDataWriter(DsplTextWriter writer) { this._dsplDataWriter = writer; string appPath = System.Web.HttpRuntime.AppDomainAppPath; string giorno = System.Web.HttpContext.Current.Timestamp.Day.ToString(); string ora = System.Web.HttpContext.Current.Timestamp.Hour.ToString(); string min = System.Web.HttpContext.Current.Timestamp.Minute.ToString(); string secondi = System.Web.HttpContext.Current.Timestamp.Second.ToString(); string ms = System.Web.HttpContext.Current.Timestamp.Millisecond.ToString(); string namedir = giorno + ora + min + secondi + ms; dirPath = appPath + "DSPL_TempFile\\" + namedir; DirectoryInfo MyRoot = new DirectoryInfo(@appPath + "DSPL_TempFile\\"); MyRoot.CreateSubdirectory(namedir); }
public DsplBaseDataWriter(DsplTextWriter writer) { this._dsplDataWriter = writer; }