SharpCifs.Config.Load C# (CSharp) Method

Load() public static method

Load the Config with properties from the stream in from a Properties file.
Load the Config with properties from the stream in from a Properties file.
public static Load ( InputStream input ) : void
input SharpCifs.Util.Sharpen.InputStream
return void
        public static void Load(InputStream input)
        {
            if (input != null)
            {
                _prp.Load(input);
            }
            try
            {
                _prp.PutAll(Runtime.GetProperties());
            }
            catch (SecurityException)
            {
                if (_log.Level > 1)
                {
                    _log.WriteLine("SecurityException: jcifs will ignore System properties");
                }
            }
        }