Show / Hide Table of Contents

# Interface ISslStreamFactory

SSL Stream Factory defines how SSL connection is established.

###### Namespace: Apache.Ignite.Core.Client

###### Assembly: Apache.Ignite.Core.dll

##### Syntax

    public interface ISslStreamFactory

### Methods

#### Create(Stream, String)

Creates the SSL stream.

##### Declaration

    SslStream Create(Stream stream, string targetHost)

##### Parameters

Type | Name | Description
--- | --- | ---
System.IO.Stream | stream | The underlying raw stream.
System.String | targetHost | Target host.

##### Returns

Type | Description
--- | ---
System.Net.Security.SslStream | SSL stream.