Imported Upstream version 4.6.0.150

Former-commit-id: 73e3bb1e96dd09dc931c1dfe559d2c7f7b8b02c7
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2016-08-23 13:20:38 +00:00
parent 02ac915603
commit b95516a3dd
239 changed files with 4096 additions and 1544 deletions

View File

@ -40,7 +40,7 @@ using System.Security.Permissions;
namespace System.Security.Cryptography.X509Certificates {
public sealed class X509Store {
public sealed class X509Store : IDisposable {
private string _name;
private StoreLocation _location;
@ -208,6 +208,11 @@ namespace System.Security.Cryptography.X509Certificates {
list.Clear ();
}
public void Dispose ()
{
Close ();
}
public void Open (OpenFlags flags)
{
if (String.IsNullOrEmpty (_name))