HelperMethods.IsRunningMediumTrust C# (CSharp) 메소드

IsRunningMediumTrust() 공개 정적인 메소드

public static IsRunningMediumTrust ( ) : bool
리턴 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
    }
  }