SecurityResources.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / ManagedLibraries / Security / System / Security / SecurityResources.cs / 1305376 / SecurityResources.cs

                            // ==++== 
//
//   Copyright (c) Microsoft Corporation.  All rights reserved.
//
// ==--== 
/*============================================================
** 
** Class: SecurityResources 
**
** [....] 
**
** Author: Rudi Martin
**
** Purpose: Internal class providing access to resources in 
**          System.Security.dll.
** 
** Date: July 14, 2000 
**
============================================================*/ 

namespace System.Security {

    using System; 
    using System.Resources;
 
    internal static class SecurityResources 
    {
        private static ResourceManager s_resMgr; 

        internal static String GetResourceString(String key)
        {
            if (s_resMgr == null) 
                s_resMgr = new ResourceManager("system.security", typeof(SecurityResources).Assembly);
            return s_resMgr.GetString(key, null); 
        } 
    }
 
}

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.


                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK