Browse Source

Deprecating Session.IniFilePath in favor of Session.AddRawConfiguration

Source commit: e91b13c0053f76116ad3e44dc726b5ba2a262615
Martin Prikryl 10 years ago
parent
commit
c0fe76f539
1 changed files with 1 additions and 0 deletions
  1. 1 0
      dotnet/Session.cs

+ 1 - 0
dotnet/Session.cs

@@ -62,6 +62,7 @@ namespace WinSCP
         [Obsolete("Use AddRawConfiguration")]
         public bool DefaultConfiguration { get { return _defaultConfiguration; } set { CheckNotOpened(); _defaultConfiguration = value; } }
         public bool DisableVersionCheck { get { return _disableVersionCheck; } set { CheckNotOpened(); _disableVersionCheck = value; } }
+        [Obsolete("Use AddRawConfiguration")]
         public string IniFilePath { get { return _iniFilePath; } set { CheckNotOpened(); _iniFilePath = value; } }
         public TimeSpan ReconnectTime { get { return _reconnectTime; } set { CheckNotOpened(); _reconnectTime = value; } }
         public int ReconnectTimeInMilliseconds { get { return Tools.TimeSpanToMilliseconds(ReconnectTime); } set { ReconnectTime = Tools.MillisecondsToTimeSpan(value); } }