Google Mobile Ads

Thursday, March 21, 2013

RSAPKCS1SHA256SignatureDescription in VB.NET


Imports System
Imports System.Security.Cryptography
Imports System.Security.Cryptography.Xml
Imports System.Security.Cryptography.X509Certificates
Imports System.Text
Imports System.Xml
Imports System.Collections
Imports System.Reflection

Public Class RSAPKCS1SHA256SignatureDescription
    Inherits SignatureDescription

    Public Sub RSAPKCS1SHA256SignatureDescription()
        KeyAlgorithm = GetType(RSACryptoServiceProvider).FullName
        DigestAlgorithm = GetType(SHA256Managed).FullName   ' Note - SHA256CryptoServiceProvider is not registered with CryptoConfig
        FormatterAlgorithm = GetType(RSAPKCS1SignatureFormatter).FullName
        DeformatterAlgorithm = GetType(RSAPKCS1SignatureDeformatter).FullName
    End Sub

Wednesday, March 20, 2013

SQL'de herhangi bir tarih değerine ait Saat, Dakika ve Saniye bilgilerini almak

SQL'de herhangi bir tarih değerine ait Saat, Dakika ve Saniye bilgilerini almak

SELECT DATEPART(hh, GETDATE());
SELECT DATEPART(MI, GETDATE());
SELECT DATEPART(S, GETDATE());



Extracting hour, minute and second from a datetime value in SQL.

LinkWithin

Related Posts Plugin for WordPress, Blogger...