Solved

C# Asynchronously call a Method

Posted on 2014-10-03
1
117 Views
Last Modified: 2014-10-19
Hi,

I'm developing in C#.

I have a method that writes to a BinaryStream which its underlying basestream is a SSLStream.

This method can only be called once at a time because you cannot Asynchronously write to the stream. Is there anyway to setup my method so that its Asynchronously called? So the calls to the method could be queued up and then sent out in order?

Thank you for your help!
0
Comment
Question by:SkyMagic
1 Comment
 
LVL 40

Accepted Solution

by:
Jacques Bourgeois (James Burger) earned 500 total points
ID: 40360485
If you are in Visual Studio 2012 or 2013, you can explore the use of the new async keyword.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question