System.Security.Cryptography.ProtectedData.ErrorMayBeCausedByUnloadedProfile C# (CSharp) 메소드

ErrorMayBeCausedByUnloadedProfile() 개인적인 정적인 메소드

private static ErrorMayBeCausedByUnloadedProfile ( int errorCode ) : bool
errorCode int
리턴 bool
        private static bool ErrorMayBeCausedByUnloadedProfile(int errorCode)
        {
            // CAPI returns a file not found error if the user profile is not yet loaded
            return errorCode == Interop.Errors.E_FILENOTFOUND ||
                   errorCode == Interop.Errors.ERROR_FILE_NOT_FOUND;
        }