LSEG Data Library for .NET

Close

Allows you to close the Pricing connection, releasing resources.

Syntax

void Close()

Usage

The following example demonstrates how to close previously opened pricing stream.

var stream = Pricing.Definition("EUR=").GetStream();

stream.Open();

// get and process the streaming data

stream.Close();