_CanSecure() private method

private _CanSecure ( string root ) : bool
root string
return bool
        private static bool CanSecure(string path)
        {
            switch (Environment.OSVersion.Platform)
            {
            case PlatformID.Unix:
            case PlatformID.MacOSX:
            case (PlatformID)128:
                return(true);

            default:
                return(KeyPairPersistence._CanSecure(Path.GetPathRoot(path)));
            }
        }
        private static bool CanSecure(string path)
        {
            int platform = (int)Environment.OSVersion.Platform;

            return(platform == 4 || platform == 128 || platform == 6 || KeyPairPersistence._CanSecure(Path.GetPathRoot(path)));
        }