Microsoft.Azure.Commands.Batch.Models.BatchClient.CopyRDPStream C# (CSharp) Method

CopyRDPStream() private method

private CopyRDPStream ( Stream destinationStream, Microsoft client, string poolId, string computeNodeId, PSComputeNode computeNode, IEnumerable additionalBehaviors = null ) : void
destinationStream Stream
client Microsoft
poolId string
computeNodeId string
computeNode PSComputeNode
additionalBehaviors IEnumerable
return void
        private void CopyRDPStream(Stream destinationStream, Microsoft.Azure.Batch.BatchClient client, string poolId, string computeNodeId,
            PSComputeNode computeNode, IEnumerable<BatchClientBehavior> additionalBehaviors = null)
        {
            if (computeNode == null)
            {
                PoolOperations poolOperations = client.PoolOperations;
                poolOperations.GetRDPFile(poolId, computeNodeId, destinationStream, additionalBehaviors);
            }
            else
            {
                computeNode.omObject.GetRDPFile(destinationStream, additionalBehaviors);
            }
        }
    }
BatchClient