Click here to Skip to main content
15,885,244 members

Comments by SuperAdministrator (Top 13 by date)

SuperAdministrator 11-Nov-10 10:07am View    
No worries. I am using the bouncy castle library and want to perform the decryption by code (C#).
SuperAdministrator 11-Nov-10 9:37am View    
I already do decryption with bouncy castle but with .asc(PGP armored file ) formats ... what im looking for is decryption for .pgp(pgp zip file) formats.
SuperAdministrator 29-Oct-10 6:16am View    
true , i will build on this and make the number of children in each level variable by :

private void FillTreeView(TreeView Tv, int NoOfLevels, int[] NoOfChildsOfEachLevel)
{
if (NoOfLevels < 0)
return;
for (int i = 0; i < NoOfChildsOfEachLevel[i]; i++)
{
Tv.Nodes.Add(i.ToString());
FillTreeNode(Tv.Nodes[i], NoOfLevels - 1, NoOfChildsOfLevel[i]);
}
}

private void FillTreeNode(TreeNode Tn, int NoOfLevels, int NoOfChildsOfEachLevel)
{
if (NoOfLevels < 0)
return;
for (int i = 0; i < NoOfChildsOfEachLevel; i++)
{
Tn.Nodes.Add(i.ToString());
FillTreeNode(Tn.Nodes[i], NoOfLevels - 1, NoOfChildsOfEachLevel);
}
}


You think this would fix it ?
SuperAdministrator 29-Oct-10 3:25am View    
This builds a tree with two levels ex: 2 parents with 3 children each . But i need to pass the number of levels so it has to be a kind of recursive method.
SuperAdministrator 29-Oct-10 3:01am View    
can you provide me with any help regarding an algorithm ?