Re: SessionOptions.AddRawSettings(HashTable) Support
Thanks for your suggestion! We will consider it.
[hashtable] $SiteProfileRawSettings = @{CacheDirectoryChanges = 0; FtpPingInterval = 60; CacheDirectories = 0}
$SessionOptions.AddRawSettings($SiteProfileRawSettings)
public void AddRawSettings(string setting, string value)
{
RawSettings.Add(setting, value);
}
internal Dictionary<string, string> RawSettings { get; private set; }
$SiteProfileRawSettings = @{CacheDirectoryChanges = 0; FtpPingInterval = 60; CacheDirectories = 0}
Foreach ($Key in $($SiteProfileRawSettings.Keys)) {
$SessionOptions.AddRawSettings($Key, $SiteProfileRawSettings[$Key])
}
[DBG]: PS C:\>> $SiteProfileRawSettings
Name Value
---- -----
CacheDirectoryChanges 0
FtpPingInterval 60
CacheDirectories 0