﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Issues  » Framework Functions</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Thu, 09 Apr 2026 06:43:33 GMT</lastBuildDate><ttl>20</ttl><item><title>Framework Functions</title><link>http://forum.strataframe.net/FindPost13028.aspx</link><description>Is there a doc that documents the callable functions provided by strataframe?&amp;nbsp; for example the screen capture and encryption functions/features mentioned on the feature page?&lt;/P&gt;&lt;P&gt;Thanks in advance</description><pubDate>Tue, 23 Sep 2008 10:54:10 GMT</pubDate><dc:creator>Mike Thomas</dc:creator></item><item><title>RE: Framework Functions</title><link>http://forum.strataframe.net/FindPost19640.aspx</link><description>ROFL&lt;/P&gt;&lt;P&gt;I think it's time to change my name again... &lt;/P&gt;&lt;P&gt;Let me see which passport color I feel like having now...&lt;/P&gt;&lt;P&gt;:P</description><pubDate>Tue, 23 Sep 2008 10:54:10 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Framework Functions</title><link>http://forum.strataframe.net/FindPost19636.aspx</link><description>I guess we will have to put out an A.P.B for Ivan :D</description><pubDate>Tue, 23 Sep 2008 10:45:10 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Framework Functions</title><link>http://forum.strataframe.net/FindPost19635.aspx</link><description>[quote][b]Keith Chisarik (09/23/2008)[/b][hr]OK thanks, if I have any security breaches in the future :P &amp;nbsp;I already knew where to look.... Ivan![/quote]&lt;P&gt;For some reason, I was just thinking about the same hacker :D, sorry, &amp;nbsp;developer :hehe:</description><pubDate>Tue, 23 Sep 2008 10:44:22 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Framework Functions</title><link>http://forum.strataframe.net/FindPost19633.aspx</link><description>OK thanks, if I have any security breaches in the future :P &amp;nbsp;I already knew where to look.... Ivan!</description><pubDate>Tue, 23 Sep 2008 10:38:17 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: Framework Functions</title><link>http://forum.strataframe.net/FindPost19625.aspx</link><description>LOL...yeah, you nailed it.&amp;nbsp; There are times that I will use the standard vector key when it is not the absolute most critical information in the world for the extremely outside of the normal realm of possibility that another SF developer could reverse engineer.&amp;nbsp; Bu like you said, this is generally not going to be an issue.&amp;nbsp; Looks good.</description><pubDate>Tue, 23 Sep 2008 09:34:46 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Framework Functions</title><link>http://forum.strataframe.net/FindPost19605.aspx</link><description>Anything wrong with using your 3DES wrapper as is without messing with the key and vector? I guess that means that hypothetically another SF developer could reverse engineer it but.... pigs could fly too.&lt;P&gt;I just added the following field customization code for a simple password field, looks OK?&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Dim&lt;/FONT&gt;&lt;FONT size=2&gt; _3des &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;New&lt;/FONT&gt;&lt;FONT size=2&gt; MicroFour.StrataFrame.Security.Encryption.TripleDESWrapper()&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;''' &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;''' smtppass&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;''' &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;''' &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&amp;lt;remarks&amp;gt;&amp;lt;/remarks&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&amp;lt;Browsable(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;False&lt;/FONT&gt;&lt;FONT size=2&gt;), _&lt;/P&gt;&lt;P&gt;BusinessFieldDisplayInEditor(), _&lt;/P&gt;&lt;P&gt;Description(&lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"smtppass"), &lt;/FONT&gt;&lt;FONT size=2&gt;_&lt;/P&gt;&lt;P&gt;DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)&amp;gt; _&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Public&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Property&lt;/FONT&gt;&lt;FONT size=2&gt; [smtppass]() &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; System.&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;String&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Get&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Dim&lt;/FONT&gt;&lt;FONT size=2&gt; x &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;String&lt;/FONT&gt;&lt;FONT size=2&gt; = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;CType&lt;/FONT&gt;&lt;FONT size=2&gt;(Me.CurrentRow.Item(&lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"smtppass"), System.String)&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Return&lt;/FONT&gt;&lt;FONT size=2&gt; _3des.Decrypt(x)&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;End&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Get&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Set&lt;/FONT&gt;&lt;FONT size=2&gt;(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;ByVal&lt;/FONT&gt;&lt;FONT size=2&gt; value &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; System.&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;String&lt;/FONT&gt;&lt;FONT size=2&gt;)&lt;/P&gt;&lt;P&gt;Me.CurrentRow.Item(&lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"smtppass") &lt;/FONT&gt;&lt;FONT size=2&gt;=&lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt; &lt;/FONT&gt;&lt;FONT size=2&gt;_&lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;3des.Encrypt(value)&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;End&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Set&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;End&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Property&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Mon, 22 Sep 2008 22:49:16 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: Framework Functions</title><link>http://forum.strataframe.net/FindPost13029.aspx</link><description>You can find all of these through the class library.&amp;nbsp; Most of these are going to be in the Tools namespace (MicroFour.StrataFrame.Tools).&amp;nbsp; Common has a number of functions that do a wide spectrum of actions.&amp;nbsp; You can call the screen capture like this:&lt;P&gt;[codesnippet]Dim myScreen As System.Drawing.Image = MicroFour.StrataFrame.Tools.ScreenCapture.CaptureScreen()&lt;BR&gt;Dim myWindow As System.Drawing.Image = MicroFour.StrataFrame.Tools.ScreenCapture.CaptureWindow(Me.Handle)[/codesnippet]&lt;/P&gt;&lt;P&gt;Encryption gets a bit more technical, but we have a 3DES wrapper that can make it much easier.&amp;nbsp; You can also see an example of this in the CRM sample in the CreditCards BO.&amp;nbsp; The credit card gets encrypted to the database and the BO shows how to save and retrieve with the 3DES.&amp;nbsp; You will find this in the Security.Encryption namespace (MicroFour.StrataFrame.Security.Encryption).&lt;/P&gt;&lt;P&gt;[codesnippet]Dim _3des As New MicroFour.StrataFrame.Security.Encryption.TripleDESWrapper()&lt;BR&gt;Dim myString As String = _3des.Encrypt("Testing")[/codesnippet]&lt;/P&gt;&lt;P&gt;If you have any questions about any specific piece please let me know. :)</description><pubDate>Fri, 14 Dec 2007 11:20:31 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>