ArgusTV.Recorder.MediaPortalTvServer.TvServerPlugin.TvController_TimeShiftFileName C# (CSharp) Метод

TvController_TimeShiftFileName() публичный статический Метод

public static TvController_TimeShiftFileName ( IUser &user ) : string
user IUser
Результат string
        public static string TvController_TimeShiftFileName(ref IUser user)
        {
            lock (_tvControllerLock)
            {
                return _controller.TimeShiftFileName(ref user);
            }
        }

Usage Example

        private static string GetTsBufferFile(IUser tve3User)
        {
            string tsBufferFile       = TvServerPlugin.TvController_TimeShiftFileName(ref tve3User);
            string uncTimeshiftFolder = ArgusTV.Recorders.Common.ShareExplorer.GetUncPathForLocalPath(Path.GetDirectoryName(tsBufferFile));

            if (!String.IsNullOrEmpty(uncTimeshiftFolder))
            {
                return(Path.Combine(uncTimeshiftFolder, Path.GetFileName(tsBufferFile)));
            }
            return(null);
        }