SecurityResources.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / clr / src / ManagedLibraries / Security / System / Security / SecurityResources.cs / 1 / 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.
// ==++== 
//
//   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