blob: 14bf8e8503d1965547d6cf0e19f73217813c2fb5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WinKeyRecover
{
internal class GetMissingPositions
{
private readonly List<int> missingPosition = new List<int>();
public List<int> GetPositions(string key)
{
for (int i = 0; i < key.Length; i++)
{
if (key[i] == '*')
{
missingPosition.Add(i);
}
}
return missingPosition;
}
}
}
|