Share via


X509CertificateStore.LocalMachineStore Method

Creates a new X509CertificateStore using the specified name, a location of LocalMachine, and a store provider of System.

Namespace: Microsoft.Web.Services2.Security.X509
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)

Usage

'Usage
Dim storeName As String
Dim returnValue As X509CertificateStore
returnValue = X509CertificateStore.LocalMachineStore(storeName)

Syntax

'Declaration
Public Shared Function LocalMachineStore( _
    ByVal storeName As String _
) As X509CertificateStore
public static X509CertificateStore LocalMachineStore(
    string storeName
);
public: static X509CertificateStore^ LocalMachineStore(
    String^ storeName
);
public static X509CertificateStore LocalMachineStore(
    System.String storeName
);
public static function LocalMachineStore(
     storeName : String
) : X509CertificateStore;

Parameters

Return Value

An X509CertificateStore with its X509CertificateStore.StoreLocation value set to LocalMachine, its X509CertificateStore.StoreProvider value set to System, and its name set to storeName.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone

See Also

Reference

X509CertificateStore Class
Microsoft.Web.Services2.Security.X509 Namespace

Other Resources

X509CertificateStore Members