NiceHashMiner.Miners.MiningSession.GetMinerPairAlgorithmType C# (CSharp) Method

GetMinerPairAlgorithmType() private method

private GetMinerPairAlgorithmType ( List miningPairs ) : AlgorithmType
miningPairs List
return AlgorithmType
        private AlgorithmType GetMinerPairAlgorithmType(List<MiningPair> miningPairs)
        {
            if (miningPairs.Count > 0) {
                return miningPairs[0].Algorithm.NiceHashID;
            }
            return AlgorithmType.NONE;
        }