C# Class mobSocial.Core.ServerHelper

Show file Open project: mobsoftware/mobsocial Class Usage Examples

Public Methods

Method Description
GetCurrentTrustLevel ( ) : AspNetHostingPermissionLevel
GetLocalPathFromRelativePath ( string relativePath ) : string

Maps a relative path to local path on file system

GetRelativePathFromLocalPath ( string localPath ) : string

Maps a file system path to relative path

Method Details

GetCurrentTrustLevel() public static method

public static GetCurrentTrustLevel ( ) : AspNetHostingPermissionLevel
return AspNetHostingPermissionLevel

GetLocalPathFromRelativePath() public static method

Maps a relative path to local path on file system
public static GetLocalPathFromRelativePath ( string relativePath ) : string
relativePath string
return string

GetRelativePathFromLocalPath() public static method

Maps a file system path to relative path
public static GetRelativePathFromLocalPath ( string localPath ) : string
localPath string
return string