def METHOD_NAME(self):
    import clr
    import System
    if is_netcoreapp:
        clr.AddReference("System.Runtime.Extensions")
        return System.IO.Path.Combine(System.Environment.GetEnvironmentVariable("windir"), r"Microsoft.NET\Framework\v4.0.30319")
    return System.IO.Path.GetDirectoryName(System.Type.GetType('System.Int32').Assembly.Location)