HelperMethods.IsRunningMediumTrust C# (CSharp) Method

IsRunningMediumTrust() public static method

public static IsRunningMediumTrust ( ) : bool
return bool
    public static bool IsRunningMediumTrust()
    {
      // placeholder method
      // this is where it needs to check if it's running in an ASP.Net MediumTrust or lower environment
      // in order to pick the appropriate locking strategy
#if SQLITE_SILVERLIGHT
      return true;
#else
      return false;
#endif
    }
  }